aboutsummaryrefslogtreecommitdiffstats
path: root/demos/MiscDemos/makefile
blob: 89d83c35affa8e204ea3650a3f25ee402610ba2e (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
include ../../symbols.mak

JAVA13_SOURCES = \
	DrawColoredPrimitives.java \
	DrawColoredPrimitives2.java \
	GLImageViewerCanvas.java \
	GLImageViewerWorld.java \
	GLImageWorld1.java \
	GearsVS.java \
	SharedGLTest.java \
	SharedGLTest2.java \
	Test.java \
	TestListener.java \
	TriangleRotate.java \
	accanti.java \
	alpha3D.java \
	anti.java \
	coloredCross.java \
	depthcue.java \
	gearRenderer.java \
	gears.java \
	gearsOffScreen2Tga.java \
	gearsOffScreenDrawImage.java \
	glJavaFontTest1.java \
	glutFontBitmapTest.java \
	glutFontBitmapTest2Applet.java \
	glutFontStrokeTest.java \
	morph3d.java \
	nurbs.java \
	pngTextureTestApplet.java \
	select.java \
	spectex.java \
	stencil.java \
	teaambient.java \
	teapots.java \
	tess.java \
	tessdemo.java \
	tesswind.java \
	jahuwaldt/gl/GLTools.java \
	jahuwaldt/gl/Matrix.java \
	jahuwaldt/gl/VirtualSphere.java

JAVA13_CLASSES = ${JAVA13_SOURCES:.java=.class})

ifdef JAVAC_14
	JAVA14_SOURCES = \
		gearsFullScreen.java \
		ScreenResSelector.java
	JAVA14_CLASSES = ${JAVA14_SOURCES:.java=.class})
	HAVE_JAVAC_14     = 1
else
	JAVA14_SOURCES =
	JAVA14_CLASSES =
endif

all: cleanup $(JAVA13_CLASSES) $(JAVA14_CLASSES)

$(JAVA13_CLASSES)       : $(JAVA13_SOURCES)
	$(JAVAC_13) -O -deprecation $^ | tee -a errors

$(JAVA14_CLASSES)       : $(JAVA14_SOURCES)
	$(JAVAC_14) -O -deprecation $^ | tee -a errors

cleanup:
	rm -f errors