aboutsummaryrefslogtreecommitdiffstats
path: root/demos/makefile
blob: 2ded0774b4d80be97afdb0dbdcbfbee8a237454d (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
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 )