-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (23 loc) · 697 Bytes
/
Makefile
File metadata and controls
34 lines (23 loc) · 697 Bytes
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
JAVA_SRC=$(wildcard *.java)
JFLAGS=-source 1.6 -target 1.6
JAVAC=javac
JAVA=java
JAVADOC=javadoc
JAVADOCFLAGS=-author -version -breakiterator -link http://java.sun.com/j2se/1.4.2/docs/api
all: compile test
compile: $(JAVA_SRC)
$(JAVAC) $(JFLAGS) $(JAVA_SRC)
test_RJavaTools: compile
$(JAVA) RJavaTools_Test
test_RJavaArrayTools: compile
$(JAVA) RJavaArrayTools_Test
test_ArrayWrapper:
$(JAVA) ArrayWrapper_Test
test_RectangularArrayBuilder:
$(JAVA) RectangularArrayBuilder_Test
test: compile test_RJavaTools test_RJavaArrayTools test_ArrayWrapper test_RectangularArrayBuilder
javadoc:
$(JAVADOC) $(JAVADOCFLAGS) -d javadoc $(JAVA_SRC)
clean:
rm -rfv *.class *~
.PHONY: all clean