Mercurial > hg > ristipolku
view Makefile @ 49:e6da5c71be28
Add more code to IDM widgets, do preliminary work for integrating them.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 22 Feb 2011 10:52:08 +0200 |
parents | 736de7b28701 |
children | f81f76458b92 |
line wrap: on
line source
# Settings, directories RUN=Ristipolku.class RESOURCES=graphics/*.png graphics/*.jpg graphics/font.ttf sounds/*.wav CLASSES=game/Piece.class game/PieceType.class \ game/Engine.class game/Interpolate.class \ game/ResourceLoader.class game/Sound.class \ game/SoundElement.class game/SoundManager.class \ game/IDMWidget.class game/IDMButton.class \ game/IDMContainer.class # Utils JAVAC=javac -g APPLETVIEWER=appletviewer ### ### Targets ### TARGETS=$(RUN) all: $(TARGETS) game/%.class: game/%.java $(JAVAC) $< Ristipolku.class: Ristipolku.java $(CLASSES) $(JAVAC) $< run: $(RUN) $(APPLETVIEWER) $(patsubst %.class,%.html,$<) ### ### Package ### Ristipolku.jar: $(RUN) $(RESOURCES) jar cvfm $@ manifest.txt $+ game/*.class upload: Ristipolku.jar @scp $+ ccr@tnsp.org:public_html/ristipolku/ $(RM) $< ### ### Cleanup ### clean: $(RM) $(TARGETS) *.class game/*.class srcclean: clean $(RM) *~ game/*~ graphics/*~ # dummy