Add a makefile

Compiles with an old -target so it will work on older JVMs
unstable
James Lee 2012-03-30 16:25:47 -06:00
parent cc54a260f5
commit b424475774
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
JAR = CVE-2012-0507.jar
CLASSES = \
msf/x/Exploit.java \
msf/x/Help.java \
msf/x/PayloadX.java
.SUFFIXES: .java .class
.java.class:
javac -d bin -source 1.2 -target 1.2 $*.java
all: $(CLASSES:.java=.class)
(cd bin; jar cvf ../$(JAR) *)
install:
mv $(JAR) ../../../../data/exploits/
clean:
rm -f $(JAR)
rm -rf bin/*