home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / pub / palmos / astro-src-2.1.0beta.tar.gz / astro-src-2.1.0beta.tar / astro-src-2.1.0beta / java / Makefile < prev    next >
Makefile  |  2000-09-27  |  1KB  |  44 lines

  1. SHELL=bash
  2.  
  3. CLASSPATH= -classpath .
  4.  
  5. # Java compilation options. Change -g to -O, or vice versa, to switch between
  6. # debug and optimized versions.
  7. JAVA_OPTS=-g $(CLASSPATH)
  8.  
  9. # The next two rules define the default rules for compiling Java files.
  10. .SUFFIXES: .class .java
  11.  
  12. .java.class:
  13.     javac $(JAVA_OPTS) $<
  14.  
  15. # Default target.
  16. all:    palmutils_package tools copy
  17.  
  18. # Scrub the directory tree. Use this if you want to do a complete rebuild.
  19. clean:    
  20.     rm -f *~ *.pdb
  21.     rm -f *.jar
  22.     rm -f *.class
  23.     cd palmutils; make clean
  24.  
  25. copy:   ../docs/Messier.pdb ../docs/Caldwell.pdb \
  26.     ../docs/Northernstars.pdb ../docs/Southernstars.pdb
  27.  
  28. ../docs/Messier.pdb: Messier.txt
  29.     java $(CLASSPATH) WritePDB Messier.txt $@
  30.  
  31. ../docs/Caldwell.pdb: Caldwell.txt
  32.     java $(CLASSPATH) WritePDB Caldwell.txt $@
  33.  
  34. ../docs/Northernstars.pdb: Northernstars.txt
  35.     java $(CLASSPATH) WritePDB -s Northernstars.txt $@
  36.  
  37. ../docs/Southernstars.pdb: Southernstars.txt
  38.     java $(CLASSPATH) WritePDB -s Southernstars.txt $@
  39.  
  40. palmutils_package: 
  41.     cd palmutils; make
  42.  
  43. tools:    DumpPDB.class WritePDB.class AstroRecord.class ParseCatalog.class
  44.