-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
54 lines (43 loc) · 895 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
all:
@-mkdir bin
@javac src/*.java -d bin
@java -cp bin src.Parser scripts/stuyface.mscript
compile:
@-mkdir bin
@javac src/*.java -d bin
clean:
@-rm *.png
@-rm *.ppm
@-rm -rf ./bin
@-rm ./src/*.class
@-rm *.gif
deepclean:
@-rm *.png
@-rm *.ppm
@-rm -rf ./bin
@-rm ./src/*.class
@-rm *.gif
@-rm -rf ./pics
@-rm -rf ./docs
info:
@mkdir docs
@cd docs;javadoc ../src/*.java;
run: ./bin
@echo $(script)
@javac src/*.java -d bin
@java -cp bin src.Parser $(script)
animate-run: ./bin
@rm -rf ./pics
@mkdir pics
@echo $(script)
@javac src/*.java -d bin
@java -cp bin src.Parser $(script)
@convert -delay $(delay) -loop 0 ./pics/*.png ./pics/sksk.gif
@animate ./pics/sksk.gif
jar: ./bin
@cp MANIFEST ./bin
@cd bin; jar cvfe OkuyasuEngine.jar src.Parser src/*.class; mv OkuyasuEngine.jar ..;
test:
@-mkdir bin
@javac src/*.java -d bin
@java -cp bin src.Image