X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=Makefile.common;h=2eddb2e90dbea8def198b26185b8604ceb9579b1;hp=cccc1901bfbb79e438f48f51df2d962c1215c2c4;hb=f430446d9f119cb9f2c1030132c414f575f3ce11;hpb=b881f9415591b5069fe46a6ccc5d833cec816b65 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 $@