diff options
| author | Teddy Wing | 2021-08-23 23:19:58 +0200 |
|---|---|---|
| committer | Teddy Wing | 2021-08-23 23:19:58 +0200 |
| commit | b5b0dc44953bf852e45f3cd72ac0de8d255e596c (patch) | |
| tree | 1a6d907222619449284fd4d7d61f89b2a2254f09 | |
| parent | 732c469b3b329eeddcf0d72575c5d7bff1f9e278 (diff) | |
| download | readline-incdec-b5b0dc44953bf852e45f3cd72ac0de8d255e596c.tar.bz2 | |
Makefile: Reorganise targets
Put build targets above the test target.
| -rw-r--r-- | Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -1,12 +1,16 @@ -.PHONY: test -test: - prove -v +.PHONY: all +all: incdec +incdec: incdec.m4.bash incdec.pl + m4 $< --define="INCLUDE_INCDEC_PL=include(\`incdec.pl')dnl" > $@ + incdec.pl: incdec.pl.m4 incdec.pm sed -n '/sub incdec {/,/^}/p' incdec.pm > incdec.sub.pl m4 $< > $@ rm incdec.sub.pl -incdec: incdec.m4.bash incdec.pl - m4 $< --define="INCLUDE_INCDEC_PL=include(\`incdec.pl')dnl" > $@ + +.PHONY: test +test: + prove -v |
