Last change
on this file since 21420 was 21420, checked in by davidb, 14 years ago |
Previous makefile always compiled up Java code, even if nothing had changed. Changed to generate .class files in more logical place, and modified jar command to pick up on them in their new location
|
File size:
341 bytes
|
Line | |
---|
1 | JAVAC = javac
|
---|
2 | JAR = jar
|
---|
3 |
|
---|
4 | CLASSES = ApplyXSLT.class ApplyXSLTUtil.class
|
---|
5 |
|
---|
6 | all: ApplyXSLT.jar
|
---|
7 |
|
---|
8 | install:
|
---|
9 |
|
---|
10 |
|
---|
11 | clean:
|
---|
12 | rm -rf *.class ApplyXSLT.jar
|
---|
13 |
|
---|
14 | ApplyXSLT.jar: $(CLASSES)
|
---|
15 | $(JAR) cvf ApplyXSLT.jar -C ../../../ org/nzdl/gsdl/ApplyXSLT.class ApplyXSLTUtil.class
|
---|
16 |
|
---|
17 |
|
---|
18 | %.class : %.java
|
---|
19 | $(JAVAC) -d ../../.. -classpath ../../.. $<
|
---|
20 |
|
---|
21 |
|
---|
22 | distclean: clean
|
---|
Note:
See
TracBrowser
for help on using the repository browser.