aboutsummaryrefslogtreecommitdiffstats
path: root/demos/makefile
blob: 56422c8698ed73c143ad4ace63f4621ef47e49c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 .