|
|
|
@ -5,10 +5,10 @@ chmod a+x co.all |
|
|
|
|
|
|
|
|
|
echo '#!/bin/sh' > compile |
|
|
|
|
echo 'COMPILER=${1:-javac}' >> compile |
|
|
|
|
echo 'if [ -n "$1" ]; then FLAGS="-g"; else shift; FLAGS="$*"; fi' >>compile |
|
|
|
|
echo 'if [ -z "$1" ]; then FLAGS="-g"; else shift; FLAGS="$*"; fi' >>compile |
|
|
|
|
echo 'rm -f *.class */*.class' >> compile |
|
|
|
|
echo 'jasmin -d .. jvm/Interpreter.j' >> compile |
|
|
|
|
echo \$COMPILER -d \$HOME/java \$FLAGS Decompiler.java Obfuscator.java JodeApplet.java swingui/MainWindow.java >> compile |
|
|
|
|
echo \$COMPILER \$FLAGS -d \$HOME/java Decompiler.java Obfuscator.java JodeApplet.java swingui/MainWindow.java >> compile |
|
|
|
|
chmod a+x compile |
|
|
|
|
|
|
|
|
|
cd .. |
|
|
|
|