Mirror of the JODE repository
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/sh
|
|
|
|
echo '#!/bin/sh' > co.all
|
|
|
|
echo co -u jcpp make* COPYING *.html *.java */*.java */*.j >> co.all
|
|
|
|
chmod a+x co.all
|
|
|
|
|
|
|
|
echo '#!/bin/sh' > compile
|
|
|
|
echo 'COMPILER=${1:-javac}' >> 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 \$FLAGS -d .. Decompiler.java Obfuscator.java JodeApplet.java swingui/MainWindow.java >> compile
|
|
|
|
chmod a+x compile
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
tar -cvzf jode/jode.tar.gz jode/co.all jode/compile jode/RCS jode/*/RCS
|