blob: 501cd24a07eb0520f820ac5e880873339852ea05 (
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
|
# Be sure to set this before compiling ...
JIKESPATH = /usr/lib/j2re1.3/lib/rt.jar:/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
|