projects
/
org.ibex.xt-crawshaw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f41a939
)
newer, better Makefile
author
crawshaw
<crawshaw@ibex.org>
Wed, 24 Nov 2004 13:10:38 +0000
(13:10 +0000)
committer
crawshaw
<crawshaw@ibex.org>
Wed, 24 Nov 2004 13:10:38 +0000
(13:10 +0000)
darcs-hash:
20041124131038
-2eb37-
258dd28572d18fdc76a1c5af4d92d02a9d0e6b83
.gz
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
3004f4e
..
4c48700
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,9
+1,23
@@
-default: ../tool/build ../util/build ../js/build
+project := xt
+
+cp := ../tool/build
+cp += ../util/build
+cp += ../js/build
+cp += ../upstream/servlet-2.3.jar
+cp += ../upstream/prevayler-2.02.005.jar
+
+space := $(empty) $(empty)
+
+default: $(cp)
@mkdir -p build
@mkdir -p build
- @echo "Compiling org.ibex.xt"
- @java -cp ../tool/build:../util/build:../js/build \
+ @echo "Compiling org.ibex.$(project)"
+ @java -cp $(subst $(space),:,$(cp)) \
org.ibex.tool.Compiler -d build src/java
org.ibex.tool.Compiler -d build src/java
+../upstream/%:
+ @mkdir -p ../upstream
+ @wget -P ../upstream -c http://repo.zentus.com/upstream/$*
+
../%/build: fetch-%
@make -s -C ../$*/ -f ../$*/Makefile
../%/build: fetch-%
@make -s -C ../$*/ -f ../$*/Makefile