-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
50 lines (35 loc) · 1.22 KB
/
Makefile
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
40
41
42
43
44
45
46
47
48
49
50
JAVAC_ARGS = -encoding iso-8859-1
JAVAC = javac $(JAVAC_ARGS)
JAVADOC = javadoc
JAR = jar
DOCDIR = apidocs
all: classes
classes:
$(JAVAC) nu/dll/lyskom/*.java
apps: classes snarfkom swingkom kombiff komwho kombot
snarfkom:
$(JAVAC) nu/dll/app/snarfkom/SnarfKom.java
swingkom:
$(JAVAC) nu/dll/app/swingkom/*.java
kombiff:
$(JAVAC) nu/dll/app/kombiff/*.java
kombot:
$(JAVAC) nu/dll/app/kombot/*.java
komwho:
$(JAVAC) nu/dll/app/komwho/*.java
komtest:
$(JAVAC) nu/dll/app/test/*.java
dist:
$(JAR) -cf lattekom.jar nu/dll/lyskom/*.class
komtest-dist: dist
$(JAR) -cfm t2.jar manifests/t2-manifest nu/dll/app/test/*.class
$(JAR) -c0fm lattekom-t2.jar manifests/t2-manifest nu/dll/lyskom/*.class nu/dll/app/test/*.class
tabgui-dist: dist
$(JAR) -cfm t2-tabgui.jar manifests/t2-manifest nu/dll/app/test/*.class
$(JAR) -c0fm lattekom-t2-tabgui.jar manifests/tabgui-manifest nu/dll/lyskom/*.class nu/dll/app/test/*.class
swingkom-dist:
$(JAR) -cfm lattekom-swing.jar manifests/swing-manifest nu/dll/lyskom/*.class nu/dll/app/swingkom/*.class
doc:
mkdir -p $(DOCDIR) && $(JAVADOC) -public -author -version -windowtitle "LatteKOM API" -d $(DOCDIR) nu/dll/lyskom/*.java
clean:
find nu/dll/ -type f -name '*.class' -exec rm -f {} \;