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 |