Skip to content

Commit

Permalink
makefile updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jvazquez-r7 committed Feb 21, 2013
1 parent 1913d60 commit f04df63
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions external/source/exploits/cve-2013-0431/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,21 @@

CLASSES = \
Exploit.java \
B.java
B.java \
Serializer.java

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

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

install:
java Serializer
mv Exploit.class ../../../../data/exploits/cve-2013-0431/
mv B.class ../../../../data/exploits/cve-2013-0431/
mv Exploit.ser ../../../../data/exploits/cve-2013-0431/

clean:
rm -rf *.class
rm -rf *.ser

0 comments on commit f04df63

Please sign in to comment.