lix/mk/cxx-big-literal.mk

6 lines
121 B
Makefile
Raw Permalink Normal View History

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