Makefile

changeset 22
f463693b5eeb
parent 21
537aec525835
child 23
f44a185b678b
equal deleted inserted replaced
21:537aec525835 22:f463693b5eeb
35 35
36 build: 36 build:
37 $(MKDIR) build 37 $(MKDIR) build
38 38
39 test: compile 39 test: compile
40 ./build/$(BIN) $(ARGS) src/c2html.c > build/body.html 40 ./build/$(BIN) $(ARGS) src/c2html.c -o build/code.html \
41 cat test/header.html build/body.html test/footer.html > build/code.html 41 -H test/header.html -F test/footer.html
42 42
43 test-java: compile 43 test-java: compile
44 ./build/$(BIN) $(ARGS) -j test/Game.java > build/body.html 44 ./build/$(BIN) $(ARGS) -j test/Game.java -o build/code.html \
45 cat test/jheader.html build/body.html test/footer.html > build/code.html 45 -H test/header.html -F test/footer.html
46 46
47 clean: 47 clean:
48 $(RM) -f -R build 48 $(RM) -f -R build

mercurial