-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathMakefile
82 lines (65 loc) · 1.94 KB
/
Makefile
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#############################################################################
# The Walrus Graph Visualization Tool
#
# $Id: Makefile.nodep,v 1.5 2005/03/25 00:39:24 youngh Exp $
#############################################################################
# You must have mp.jar, antlrall-mod.jar, and libsea.jar in your CLASSPATH.
JAVA = java
JAVAC = javac
JAVAC_FLAGS = #-classpath $$CLASSPATH
#############################################################################
# NO FURTHER CONFIGURATION OPTIONS BELOW
#############################################################################
walrus_sources = H3AdaptivePicker.java \
H3AdaptiveRenderLoop.java \
H3AdaptiveRenderer.java \
H3Axes.java \
H3Canvas3D.java \
H3Circle.java \
H3CircleRenderer.java \
H3DisplayPosition.java \
H3Graph.java \
H3GraphLayout.java \
H3GraphLoader.java \
H3InteractiveRotationRequest.java \
H3LineRenderer.java \
H3Main.java \
H3Math.java \
H3Matrix4d.java \
H3MouseInputAdapter.java \
H3NonadaptivePicker.java \
H3NonadaptiveRenderLoop.java \
H3PickViewer.java \
H3Picker.java \
H3PickerCommon.java \
H3Point4d.java \
H3PointRenderList.java \
H3RenderList.java \
H3RenderLoop.java \
H3RenderQueue.java \
H3RepeatingRotationRequest.java \
H3RotationRequest.java \
H3Transform.java \
H3TransformQueue.java \
H3Transformer.java \
H3ViewParameters.java \
H3WobblingRotationRequest.java
walrus_classes = $(walrus_sources:.java=.class)
tester_sources = H3TransformQueueTester.java
tester_classes = $(tester_sources:.java=.class)
%.class: %.java
$(JAVAC) $(JAVAC_FLAGS) $<
.PHONY: walrus tester all atonce pedantic clean distclean
walrus: $(walrus_classes)
tester: $(tester_classes)
all: walrus tester
atonce: $(walrus_sources) $(tester_sources)
$(JAVAC) $(JAVAC_FLAGS) $^
pedantic:
$(MAKE) JAVAC=jikes JAVAC_FLAGS=+P
jar:
jar cvmf distrib/manifest-supplement walrus.jar *.class walrus-splash.jpg
clean:
-rm *.class *~
distclean: clean
-rm *.u