Makefile

changeset 22
f463693b5eeb
parent 21
537aec525835
child 23
f44a185b678b
     1.1 --- a/Makefile	Thu Jan 23 09:19:37 2014 +0100
     1.2 +++ b/Makefile	Thu Jan 23 14:17:06 2014 +0100
     1.3 @@ -37,12 +37,12 @@
     1.4  	$(MKDIR) build
     1.5  	
     1.6  test: compile
     1.7 -	./build/$(BIN) $(ARGS) src/c2html.c > build/body.html
     1.8 -	cat test/header.html build/body.html test/footer.html > build/code.html
     1.9 +	./build/$(BIN) $(ARGS) src/c2html.c -o build/code.html \
    1.10 +	-H test/header.html -F test/footer.html
    1.11  
    1.12  test-java: compile
    1.13 -	./build/$(BIN) $(ARGS) -j test/Game.java > build/body.html
    1.14 -	cat test/jheader.html build/body.html test/footer.html > build/code.html
    1.15 +	./build/$(BIN) $(ARGS) -j test/Game.java -o build/code.html \
    1.16 +	-H test/header.html -F test/footer.html
    1.17  	
    1.18  clean:
    1.19  	$(RM) -f -R build

mercurial