Mercurial > hg > ristipolku
comparison Makefile @ 9:a7751971c2a3
More work.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 29 Jan 2011 00:30:00 +0200 |
parents | 1785f66a7beb |
children | c4cd811813ef |
comparison
equal
deleted
inserted
replaced
8:d8e7fd8f3ccf | 9:a7751971c2a3 |
---|---|
1 # Settings, directories | 1 # Settings, directories |
2 RUN=Ristipolku.class | 2 RUN=RistipolkuApplet.class |
3 TARGETS=$(RUN) | 3 TARGETS=$(RUN) |
4 SUBDIR=game | 4 SUBDIR=game |
5 | 5 |
6 # Utils | 6 # Utils |
7 JAVAC=javac -g | 7 JAVAC=javac -g |
10 ### | 10 ### |
11 ### Targets | 11 ### Targets |
12 ### | 12 ### |
13 all: $(TARGETS) | 13 all: $(TARGETS) |
14 | 14 |
15 #Ristipolku.class: game/Piece.class game/PieceType.class $(SUBDI | |
16 | 15 |
17 %.class: %.java | 16 %.class: %.java |
18 $(JAVAC) $< | 17 $(JAVAC) $< |
19 | 18 |
19 game/%.class: game/%.java | |
20 $(JAVAC) $< | |
21 | |
22 RistipolkuApplet.class: game/Piece.class game/PieceType.class game/Engine.class game/Interpolate.class | |
23 | |
20 | 24 |
21 run: $(RUN) | 25 run: $(RUN) |
22 $(APPLETVIEWER) $(patsubst %.class,%.html,$<) | 26 $(APPLETVIEWER) $(patsubst %.class,%.html,$<) |
23 | 27 |
24 | 28 |