commit 811c58047950731dab8122458c6bb4337ce7033d from: Omar Polo date: Tue Dec 13 15:25:13 2022 UTC don't rebuild template/template unless strictly needed This allows to ship a pre-compiled fragments.c in the tarball and not building the template executable. The same thing already happens with yacc and parse.y. commit - 1a52bb7ca6625e1370f1750a65de03368271e644 commit + 811c58047950731dab8122458c6bb4337ce7033d blob - a9a333247b3b737898f294ce1a33477b315722a7 blob + ed8078c2538f2c57069be950ccd2dd6d4a71d61e --- Makefile +++ Makefile @@ -55,10 +55,8 @@ uninstall: ${PROG}: ${OBJS} ${CC} -o $@ ${OBJS} ${LIBS} ${LDFLAGS} -template/template: +fragments.c: fragments.tmpl ${MAKE} -C template - -fragments.c: template/template fragments.tmpl ./template/template -o $@ fragments.tmpl y.tab.c: parse.y