CLASSES = \
	Init.java  \
	Leak.java \
	MyBufferedImage.java \
	MyColorSpace.java

.SUFFIXES: .java .class
.java.class:
	javac -source 1.5 -target 1.5 -cp "../../../../data/java:." $*.java

all: $(CLASSES:.java=.class)

install:
	mv Init.class ../../../../data/exploits/cve-2013-1493/
	mv Leak.class ../../../../data/exploits/cve-2013-1493/
	mv MyBufferedImage.class ../../../../data/exploits/cve-2013-1493/
	mv MyColorSpace.class ../../../../data/exploits/cve-2013-1493/

clean:
	rm -rf *.class
