Ticket #29984: Makefile

File Makefile, 314 bytes (added by humem (humem), 13 years ago)
Line 
1JAVA_HOME=@java_home@
2
3JAVAC=$(JAVA_HOME)/bin/javac -encoding UTF-8 -cp lib/mallet.jar:lib/mecab.jar
4JAR=$(JAVA_HOME)/bin/jar
5
6TARGETS=lib/dualist-ja.jar
7
8all : $(TARGETS)
9
10$(TARGETS) : SimpleMecabPipe.java
11        -mkdir -p classes
12        $(JAVAC) -d classes $<
13        $(JAR) cfv $@ -C classes .
14
15clean:
16        -rm -rf $(TARGETS) classes