aboutsummaryrefslogtreecommitdiffstats
path: root/demos/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'demos/makefile')
-rw-r--r--demos/makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/demos/makefile b/demos/makefile
new file mode 100644
index 0000000..56422c8
--- /dev/null
+++ b/demos/makefile
@@ -0,0 +1,36 @@
+JAVAC = javac
+
+
+JAVA_APPL_FILES = olympicCvs.java \
+ starCvs.java \
+ waveCvs.java \
+ glOlympicCvsApplet.java \
+ glOlympicSwingApplet.java \
+ glLogoCvs.java \
+ glLogoCvsApplet.java \
+ glDemosCvs.java \
+ testTextPPM1.java
+
+.SUFFIXES : .java .class
+
+.java.class:
+ $(JAVAC) -deprecation $< 2>&1 | tee -a errors
+
+all: ${JAVA_APPL_FILES:.java=.class}
+
+showdest:
+ echo ${JAVA_APPL_FILES:.java=.class} ${C_APPL_FILES:.c=.o}
+
+clean:
+ rm -f *.o *~ errors *.dll
+
+cleanall: clean
+ rm -f *.class ${C_APPL_FILES:.c=}
+ rm -f $(find . -name \*.o -o -name \*.exe )
+
+windllcpy:
+ cp /WIN_NT/system32/opengl32.dll .
+ cp /WIN_NT/system32/opengl.dll .
+ cp /WIN_NT/system32/gl4java.dll .
+ cp /WIN_NT/system32/gl4java32.dll .
+