aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
blob: caaeb90ea7df4566bae5624c63046455911a0c09 (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
# Be sure to set this before compiling ...
 RTPATH = /usr/lib/j2re1.3/lib/rt.jar
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 = gcj-3.2 -classpath $(JIKESPATH)
    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