blob: 867d2b781126e98659d027b0648c4268440bce98 (
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
|
#!/usr/bin/make
# JMAX = /opt/lib/jmax
# JMAX = /usr/local/lib/jmax
include ../config.make
include ../bundled/jmax/Makefiles/Makefile.$(JMAX_ARCH)
JMAX = $(prefix)/lib/jmax
CLASSPATH=".:$(JMAX)/java/classes/jmax.jar:$(JMAX)/packages/guiobj/java/classes/guiobj.jar:$(JMAX)/java/lib/jacl/jacl.jar:$(JMAX)/java/lib/jacl/tcljava.jar"
OBJS = \
gridflow/FtsPeepholeObject.class \
gridflow/Peephole.class \
gridflow/PeepholeControlPanel.class \
gridflow/GridFlowExtension.class \
gridflow/PeepholeControlPanel\$1.class \
gridflow/PathInfo.class
SRC = \
FtsPeepholeObject.java \
Peephole.java \
PeepholeControlPanel.java \
GridFlowExtension.java \
PathInfo.java
# libPeephole.so
JC = javac -classpath $(CLASSPATH) -O
all: gridflow.jar
clean::
rm -f $(OBJS) gridflow.jar PathInfo.java
gridflow.jar: $(SRC)
mkdir gridflow || true
$(JC) -d . $(SRC)
/bin/rm -f gridflow.jar
jar -cvf gridflow.jar gridflow/*.class
|