From: Charles McGarvey Date: Wed, 13 Jul 2011 21:02:26 +0000 (-0600) Subject: targets should only depend on main class X-Git-Tag: v0.3.2~2 X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=8d643f4df4d573474c3b2f837052fc0c5d7cff6d;p=chaz%2Fvimcoder targets should only depend on main class --- diff --git a/Makefile b/Makefile index d2e8823..a9f4d64 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ JAVACFLAGS = -d . -sourcepath src -classpath $(library) classes = $(sources:src/%.java=%.class) -all: $(classes) +all: $(firstword $(classes)) clean: rm -rf META-INF com @@ -35,7 +35,7 @@ $(library): mkdir -p lib curl -o $@ http://www.topcoder.com/contest/classes/ContestApplet.jar -$(jarfile): $(classes) META-INF/MANIFEST.MF +$(jarfile): $(firstword $(classes)) META-INF/MANIFEST.MF @echo "Packaging jar file..." mkdir -p com/dogcows/resources cp src/com/dogcows/resources/* com/dogcows/resources