src/current/src/Makefile: Phony recursive targets

Otherwise *-recursive fails.

* src/current/src/Makefile (check, info, pdf, html): New phony targets.
master
Mike Gerwitz 2018-10-16 09:07:42 -04:00
parent db1c03dfd9
commit 1e5cdf8c40
1 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,7 @@
dslc_src := $(wildcard com/lovullo/dslc/*.java)
dslc_bin := $(dslc_src:.java=.class)
.PHONY: all all-nodoc dslc clean
.PHONY: all all-nodoc dslc clean check info pdf html
all: dslc
dslc: dslc.jar
@ -10,6 +10,12 @@ dslc: dslc.jar
%.class: %.java
javac $<
# recurisve targets
check:
info:
pdf:
html:
# we explicitly specify a glob on the path because inner classes are compiled
# into their own files
dslc.jar: $(dslc_bin)