forked from IsmAvatar/LateralGM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (15 loc) · 651 Bytes
/
Makefile
File metadata and controls
23 lines (15 loc) · 651 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
JC = ecj -1.6 -nowarn -cp .
JFLAGS = -cp /usr/share/java/batik:/usr/share/java/svnkit:/usr/share/java/eclipse-ecj.jar:/usr/share/java/ecj.jar
OUTPUT_FILE = lateralgm.jar
.SUFFIXES: .java .class
.java.class:
$(JC) $(JFLAGS) $*.java
JAVA_FILES = $(shell find org -name "*.java")
JAR_INC_FILES = $(shell find org -type f \( -not -wholename '*/.svn/*' \) -a \( -not -name "*.java" \) | sed 's/\$$/\\\$$/g')
default: classes jar
classes: $(JAVA_FILES:.java=.class)
clean:
find org/lateralgm -name "*.class" -exec rm {} \;
rm -f $(OUTPUT_FILE)
jar:
@jar cfm $(OUTPUT_FILE) META-INF/MANIFEST.MF .classpath COPYING README LICENSE $(JAR_INC_FILES)