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