lix/mk/cxx-big-literal.mk

6 lines
121 B
Makefile
Raw Normal View History

%.gen.hh: %
@echo 'R"__NIX_STR(' >> $@.tmp
$(trace-gen) cat $< >> $@.tmp
@echo ')__NIX_STR"' >> $@.tmp
@mv $@.tmp $@