update Main.java demo to no longer avoid wierdiness
[anneal.git] / Makefile
1 jars = lib/kd.jar:lib/trove-0.1.8.jar:lib/sil-0.43b-am1.jar:lib/jogl/jogl.jar:lib/jogl/gluegen-rt.jar
2 all:
3         mkdir -p build
4         cp sample-stl/*.stl build
5         javac -cp $(jars) -d build `find src -name \*.java`
6         nice -n 19 java -Xmx1200m -Djava.library.path=lib/jogl -cp $(jars):build edu.berkeley.qfat.Main
7
8 run:
9         /cygdrive/c/Program\ Files/Java/jre*/bin/java -Xmx1200m -Djava.library.path=lib/jogl -cp build\;lib/kd.jar\;lib/trove-0.1.8.jar\;lib/sil-0.43b-am1.jar\;lib/jogl/jogl.jar\;lib/jogl/gluegen-rt.jar\;build edu.berkeley.qfat.Main
10
11
12 dist:
13         javac -cp $(jars) -d build `find src -name \*.java`
14         rm -f space-sculptor.jar
15         cd build; for A in ../lib/*.jar ../lib/jogl/*.jar; do jar xvf $$A; done
16         cp lib/jogl/* build
17         echo 'Main-Class: edu.berkeley.qfat.Boot' > build/manifest
18         cp *.stl build
19         cd build; jar cvmf manifest ../space-sculptor.jar .
20