use variable instead of hard-coded path
Stefan Schuermans

Stefan Schuermans commited on 2011-09-10 17:14:06
Showing 1 changed files, with 2 additions and 4 deletions.

... ...
@@ -23,13 +23,11 @@ CLASS_FILES=$(P)/BlinkenConstants.class $(P)/BlinkenFrame.class \
23 23
 all: jar
24 24
 
25 25
 clean:
26
-	rm -f org/blinkenarea/BlinkenLib/Version.java
27
-	rm -f $(CLASS_FILES)
28
-	rm -f BlinkenLib.jar
26
+	rm -f $(P).java $(CLASS_FILES) BlinkenLib.jar
29 27
 
30 28
 jar: BlinkenLib.jar
31 29
 
32
-org/blinkenarea/BlinkenLib/Version.java: Makefile
30
+$(P)/Version.java: Makefile
33 31
 	echo "package org.blinkenarea.BlinkenLib;" >$@
34 32
 	echo "public class Version {" >>$@
35 33
 	echo "  public static int Major = $(VERSION_MAJOR);" >>$@
36 34