# rt.jar must be in the classpath!

CLASSES = \
	Exploit.java  \
	B.java

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

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

install:
	mv Exploit.class ../../../../data/exploits/cve-2012-5076_2/
	mv B.class ../../../../data/exploits/cve-2012-5076_2/

clean:
	rm -rf *.class
