root/main/trunk/greenstone2/build-src/src/java/org/nzdl/gsdl/Makefile @ 21428

Revision 21428, 371 bytes (checked in by davidb, 10 years ago)

Needed extra -C ../../.. for jar to work

Line 
1JAVAC = javac
2JAR = jar
3
4CLASSES = ApplyXSLT.class ApplyXSLTUtil.class
5
6all: ApplyXSLT.jar
7
8install:
9
10
11clean:
12    rm -rf *.class ApplyXSLT.jar
13
14ApplyXSLT.jar: $(CLASSES)
15    $(JAR) cvf ApplyXSLT.jar -C ../../..  org/nzdl/gsdl/ApplyXSLT.class \
16      -C ../../.. org/nzdl/gsdl/ApplyXSLTUtil.class
17
18
19%.class : %.java
20    $(JAVAC) -d ../../.. -classpath ../../.. $<
21
22
23distclean: clean
Note: See TracBrowser for help on using the browser.