blob: 66344194ea3f9e3c2ef0777486886545e04b630f (
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
|
# Be sure to set this before compiling ...
RTPATH = /usr/local/j2sdk1.4.1/jre/lib/rt.jar
JIKESPATH = ${RTPATH}:/usr/share/java/gnu.getopt.jar:/usr/share/java/repository
JAVACOPTS = -d . -deprecation
.SUFFIXES: .java .class
SRCS = *.java
OBJS = $(SRCS:.java=.class)
JAVAC = jikes -classpath $(JIKESPATH)
#JAVAC = javac
DOCS = ../doc/html/api
.java.class:
$(JAVAC) $<
ivy-java:
$(JAVAC) $(JAVACOPTS) $(SRCS)
all: $(OBJS)
clean:
/bin/rm -f -- $(OBJS) *~ *.bak $(JAR)
docs:
rm -fR $(DOCS)/*html
rm -fR $(DOCS)/*css
rm -fR $(DOCS)/fr
javadoc -d $(DOCS) $(SRCS)
rm $(DOCS)/package-list
|