--- a/lib/browser/Makefile Mon Apr 12 19:54:32 2004 +0200
+++ b/lib/browser/Makefile Mon Apr 12 23:51:00 2004 +0200
@@ -1,8 +1,17 @@
# $Id$
-all:
- javac GraphBrowser/GraphBrowser.java GraphBrowser/Console.java
+DST=classes
+
+all: GraphBrowser.jar
+
+GraphBrowser.jar: GraphBrowser/*.java awtUtilities/*.java
+ mkdir -p $(DST)
+ javac -d $(DST) GraphBrowser/GraphBrowser.java GraphBrowser/Console.java
+ jar -C $(DST) -c -f GraphBrowser.jar .
+ rm -rf $(DST)
clean:
rm -f GraphBrowser/*.class
rm -f awtUtilities/*.class
+ rm -rf $(DST)
+ rm -f GraphBrowser.jar