From 8d643f4df4d573474c3b2f837052fc0c5d7cff6d Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Wed, 13 Jul 2011 15:02:26 -0600 Subject: [PATCH] targets should only depend on main class --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.45.2