diff Makefile @ 9:a7751971c2a3

More work.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 29 Jan 2011 00:30:00 +0200
parents 1785f66a7beb
children c4cd811813ef
line wrap: on
line diff
--- a/Makefile	Fri Jan 28 22:21:45 2011 +0200
+++ b/Makefile	Sat Jan 29 00:30:00 2011 +0200
@@ -1,5 +1,5 @@
 # Settings, directories
-RUN=Ristipolku.class
+RUN=RistipolkuApplet.class
 TARGETS=$(RUN)
 SUBDIR=game
 
@@ -12,11 +12,15 @@
 ###
 all: $(TARGETS)
 
-#Ristipolku.class: game/Piece.class game/PieceType.class $(SUBDI
 
 %.class: %.java
 	$(JAVAC) $<
-	
+
+game/%.class: game/%.java
+	$(JAVAC) $<
+
+RistipolkuApplet.class: game/Piece.class game/PieceType.class game/Engine.class game/Interpolate.class
+
 
 run: $(RUN)
 	$(APPLETVIEWER) $(patsubst %.class,%.html,$<)