filler (1.02-6.1) Makefile

Summary

 Makefile |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

    
download this patch

Patch contents

--- filler-1.02.orig/Makefile
+++ filler-1.02/Makefile
@@ -8,10 +8,10 @@
 
 $(JAR):
 	mkdir classes || $(RM) -rf classes/*
-	javac -d classes src/friendless/awt/*.java
-	javac -classpath classes -d classes $(DIR)/*.java $(DIR)/player/*.java $(DIR)/remote/*.java $(DIR)/remote/messages/*.java
+	$(JAVA_HOME)/bin/javac -d classes src/friendless/awt/*.java
+	$(JAVA_HOME)/bin/javac -classpath classes:src -d classes $(DIR)/*.java $(DIR)/player/*.java $(DIR)/remote/*.java $(DIR)/remote/messages/*.java
 	cp -R res/* classes
-	cd classes && jar cmf ../other/metainfo.txt $(JAR) friendless
+	cd classes && $(JAVA_HOME)/bin/jar cmf ../other/metainfo.txt $(JAR) friendless
 	mv classes/$(JAR) .
 
 clean: