# HG changeset patch # User Matti Hamalainen # Date 1296344983 -7200 # Node ID 562744de803cf584f73d1107ec41c2e7afab99ed # Parent c4cd811813efc6a66f4368342cab0fffd886f44e Work. diff -r c4cd811813ef -r 562744de803c Makefile --- a/Makefile Sun Jan 30 01:12:14 2011 +0200 +++ b/Makefile Sun Jan 30 01:49:43 2011 +0200 @@ -1,7 +1,9 @@ # Settings, directories RUN=Ristipolku.class + +RESOURCES=graphics/board.png + CLASSES=game/Piece.class game/PieceType.class game/Engine.class game/Interpolate.class -TARGETS=$(RUN) $(CLASSES) # Utils JAVAC=javac -g @@ -10,6 +12,8 @@ ### ### Targets ### +TARGETS=$(RUN) $(CLASSES) + all: $(TARGETS) @@ -30,8 +34,9 @@ ### ### Package ### -Ristipolku.jar: $(RUN) $(CLASSES) - +Ristipolku.jar: $(RUN) $(CLASSES) $(RESOURCES) + jar cvf $@ $+ + upload: index.html Ristipolku.jar @scp $+ ccr@tnsp.org:public_html/ristipolku/ @@ -47,6 +52,4 @@ srcclean: clean $(RM) *~ game/*~ graphics/*~ - - # dummy diff -r c4cd811813ef -r 562744de803c index.html --- a/index.html Sun Jan 30 01:12:14 2011 +0200 +++ b/index.html Sun Jan 30 01:49:43 2011 +0200 @@ -20,7 +20,6 @@ -

Ristipolku

- +