polish Makefile

parent 5dd92389
......@@ -60,13 +60,13 @@ $(GEN_TESTS): tbl_vtc.h vtc/.dummy
.vcctpl.vcc:
@rm -f $@.h
ln $< $@.h || cp $< $@.h
@ln $< $@.h || cp $< $@.h
$(AM_V_GEN) ( echo '#-' && \
sed < $(top_srcdir)/LICENSE 's:^:# :' && \
$(CPP) -I$(srcdir) $@.h | sed '/^#/ d; s:\\n *:\
:g') >$@.tmp
@rm -f $<.h
mv $@.tmp $@
@rm -f $@.h
@mv $@.tmp $@
vtc/.dummy:
test -d vtc || mkdir vtc
......@@ -74,11 +74,11 @@ vtc/.dummy:
.vtctpl.vtc:
@rm -f $@.h
ln $< $@.h || cp $< $@.h
@ln $< $@.h || cp $< $@.h
$(AM_V_GEN) ($(CPP) -I$(srcdir)/vtc $@.h | sed '/^#/ d; s:\\n *:\
:g; s: *%% *::g;') >$@.tmp
@rm -f $@.h
mv $@.tmp $@
@mv $@.tmp $@
# Test suite
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment