]> Dogcows Code - chaz/vimcoder/commitdiff
targets should only depend on main class
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Wed, 13 Jul 2011 21:02:26 +0000 (15:02 -0600)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Wed, 13 Jul 2011 21:02:26 +0000 (15:02 -0600)
Makefile

index d2e8823fc4c571268dc944bdd50b183211489dd4..a9f4d648b2958daf5ede3a0321836df86f6db47b 100644 (file)
--- 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
This page took 0.018609 seconds and 4 git commands to generate.