From: adam Date: Tue, 20 Jul 2004 08:50:16 +0000 (+0000) Subject: bugfix in Makefile.common X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=f430446d9f119cb9f2c1030132c414f575f3ce11;ds=sidebyside bugfix in Makefile.common darcs-hash:20040720085016-5007d-0d3779bd38614191f1ae7e59060bbfbfffaa02cd.gz --- diff --git a/Makefile.common b/Makefile.common index cccc190..2eddb2e 100644 --- a/Makefile.common +++ b/Makefile.common @@ -18,7 +18,7 @@ repo/: ; mkdir repo repo/%.ibex.org/: repo/ test -e $@ && (cd repo/$*.ibex.org; darcs pull -a --verbose http://$*.ibex.org/); true test -e $@ || (cd repo; darcs get --partial --verbose http://$*.ibex.org/); true - cd src/org/ibex; ln -sf ../../../repo/$*.ibex.org/src/org/ibex/$* + test -e src/org/ibex/$* || (cd src/org/ibex; ln -sf ../../../repo/$*.ibex.org/src/org/ibex/$*); true ### cleanup targets ################################################################## @@ -41,7 +41,7 @@ compile: .compile .compile: $(java_sources) build/class/org/ibex/util/Preprocessor.class make -s repos java -cp build/class org.ibex.util.Preprocessor $(java_sources) - $(javac) $(java_sources:src/%.java=build/java/%.java) + $(javac) -d build/class $(java_sources:src/%.java=build/java/%.java) touch $@