Mercurial > hg > ristipolku
comparison Makefile @ 27:26adc2827983
More work on the internals.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 01 Feb 2011 20:38:19 +0200 |
parents | 3d4cc47df31a |
children | 736de7b28701 |
comparison
equal
deleted
inserted
replaced
26:3d4cc47df31a | 27:26adc2827983 |
---|---|
1 # Settings, directories | 1 # Settings, directories |
2 RUN=Ristipolku.class | 2 RUN=Ristipolku.class |
3 | 3 |
4 RESOURCES=graphics/*.png graphics/*.jpg graphics/font.ttf sounds/*.wav | 4 RESOURCES=graphics/*.png graphics/*.jpg graphics/font.ttf sounds/*.wav |
5 | 5 |
6 CLASSES=game/Piece.class game/PieceType.class game/Engine.class game/Interpolate.class game/ResourceLoader.class | 6 CLASSES=game/Piece.class game/PieceType.class \ |
7 game/Engine.class game/Interpolate.class \ | |
8 game/ResourceLoader.class game/Sound.class \ | |
9 game/SoundElement.class | |
7 | 10 |
8 # Utils | 11 # Utils |
9 JAVAC=javac -g | 12 JAVAC=javac -g |
10 APPLETVIEWER=appletviewer | 13 APPLETVIEWER=appletviewer |
11 | 14 |
28 | 31 |
29 | 32 |
30 ### | 33 ### |
31 ### Package | 34 ### Package |
32 ### | 35 ### |
33 Ristipolku.jar: $(RUN) $(CLASSES) $(RESOURCES) | 36 Ristipolku.jar: $(RUN) $(RESOURCES) |
34 jar cvfm $@ manifest.txt $+ | 37 jar cvfm $@ manifest.txt $+ game/*.class |
35 | 38 |
36 | 39 |
37 upload: Ristipolku.jar | 40 upload: Ristipolku.jar |
38 @scp $+ ccr@tnsp.org:public_html/ristipolku/ | 41 @scp $+ ccr@tnsp.org:public_html/ristipolku/ |
39 $(RM) $< | 42 $(RM) $< |