mirror of
https://github.com/fooflington/wordsearch.git
synced 2025-01-22 01:09:54 +00:00
fix makefile
This commit is contained in:
parent
87577944fb
commit
ce1e7a2fe5
10
Makefile
10
Makefile
@ -9,7 +9,7 @@ SRCS = uk/org/mafoo/wordsearch/CouldNotPlaceWordException.java \
|
||||
uk/org/mafoo/wordsearch/DistributedRandomNumberGenerator.java \
|
||||
uk/org/mafoo/wordsearch/Direction.java
|
||||
|
||||
JSPS = $(wildcard war/*.jsp war/*.css)
|
||||
JSPS = $(wildcard war/*.jsp war/*.css war/WEB-INF/jspf/*.jspf)
|
||||
|
||||
OBJS = ${SRCS:.java=.class}
|
||||
|
||||
@ -27,6 +27,8 @@ clean:
|
||||
wordsearch.jar: $(OBJS)
|
||||
jar cf $@ $(OBJS)
|
||||
|
||||
wordsearch.war: wordsearch.jar
|
||||
cp -f wordsearch.jar war/lib
|
||||
jar -c -f $@ -C war .
|
||||
war/WEB-INF/lib/wordsearch.jar: wordsearch.jar
|
||||
cp $< $@
|
||||
|
||||
wordsearch.war: war/WEB-INF/lib/wordsearch.jar $(JSPS)
|
||||
jar -cvf $@ -C war .
|
Loading…
x
Reference in New Issue
Block a user