album/Makefile

41 lines
531 B
Makefile
Raw Normal View History

2007-04-01 02:44:17 +00:00
#
# Java interpreter and compiler
#
JAVA = java
JAVAC = javac
#
# Various tools
#
RM = rm -f
#
# Which libraries do we use?
#
CLASSPATH=$(HOME)/src:$(HOME)/src/album/freeJSX1.0.7.4.jar
CLASSES = Photo.class Album.class Item.class Transform.class
#
# The file types we deal with
#
.SUFFIXES: .java .class
all: $(CLASSES)
@echo Done
clean:
$(RM) *.class
$(RM) *~
.java.class:
$(JAVAC) -classpath $(CLASSPATH) $<
test: $(CLASSES) Test.class
$(JAVA) -cp $(CLASSPATH) album.config.Test /home/knut/src/album/photos
#eof