Makefile 349 B

123456789101112131415161718
  1. # $Id$
  2. DST=classes
  3. all: GraphBrowser.jar
  4. GraphBrowser.jar: GraphBrowser/*.java awtUtilities/*.java
  5. mkdir -p $(DST)
  6. javac -d $(DST) GraphBrowser/GraphBrowser.java GraphBrowser/Console.java
  7. jar cf GraphBrowser.jar -C $(DST) .
  8. rm -rf $(DST)
  9. clean:
  10. rm -f GraphBrowser/*.class
  11. rm -f awtUtilities/*.class
  12. rm -rf $(DST)
  13. rm -f GraphBrowser.jar