[sword-cvs] r22 - trunk/app

Apache apache at crosswire.org
Fri Sep 10 19:49:17 MST 2004


Author: 
Date: 2004-09-10 19:49:16 -0700 (Fri, 10 Sep 2004)
New Revision: 22

Modified:
   trunk/app/GNUmakefile
Log:
- Split up the default target.  It is now possible
  to just build the classes and not create the jar.
  This speeds up the compile,debug,compile,debug...


Modified: trunk/app/GNUmakefile
===================================================================
--- trunk/app/GNUmakefile	2004-09-11 02:48:07 UTC (rev 21)
+++ trunk/app/GNUmakefile	2004-09-11 02:49:16 UTC (rev 22)
@@ -22,22 +22,21 @@
 ######################################################################
 # Targets
 
-.PHONY : clean flashcards Editor Quiz
+.PHONY : all clean jar classes
 
-all : flashcards
+all : clean jar
 
 clean :
 	rm -rf classes
 
-flashcards : clean
+jar : classes
+	cd $(CLASSES_DIRECTORY) ; \
+	jar cvmf org/crosswire/flashcards/flashcards.manifest flashcards.jar org lessons
+
+classes : clean
 	@$(CHECK_CLASSES_DIRECTORY)
 	$(JAVAC) -g -source 1.4 -d $(CLASSES_DIRECTORY) `find . -type f -name '*.java'`
 	cd src ; \
-	tar cf - `find . -type f | egrep -v '\.svn'` | ( cd $(CLASSES_DIRECTORY) ; tar xvf - )
+	tar cf - `find . -type f | egrep -v '\.svn'` | ( cd $(CLASSES_DIRECTORY) ; tar xf - )
 	cd .. ; \
-	tar cf - `find lessons -type f | egrep -v '\.svn'` | ( cd $(CLASSES_DIRECTORY) ; tar xvf - )
-	cd $(CLASSES_DIRECTORY) ; \
-	jar cvmf org/crosswire/flashcards/flashcards.manifest flashcards.jar org lessons
-
-run :
-	java -jar classes/flashcards.jar &
+	tar cf - `find lessons -type f | egrep -v '\.svn'` | ( cd $(CLASSES_DIRECTORY) ; tar xf - )



More information about the sword-cvs mailing list