all: wathello.prc

# which compiler
JAVA=jikes

jar: wathello.jar

wathello.jar: wathello.class wathello.prc
	jar cvf wathello.jar *.class waba

wathello.prc: wathello.wrp wathello.pdb wathello.bmp
	exegen /w 160 /h 160 /i wathello.bmp wathello wathello wathello

wathello.pdb: wathello.class
	warp c wathello *.class

wathello.wrp: wathello.class
	warp c wathello *.class

wathello.class: wathello.java
	$(JAVA) wathello.java

clean:
	-rm *.class
