aboutsummaryrefslogtreecommitdiffstats
path: root/demos/makefile
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2000-11-18 06:43:49 +0000
committerSven Gothel <[email protected]>2000-11-18 06:43:49 +0000
commit880653d31a8f1ff8384fdbc75b84934bceecfdb8 (patch)
treebdafb71416f176d2a4b73bf716c9dc3f13685a8b /demos/makefile
Initial revision
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 .
+