--- projects/cms/source/server/Makefile.inc 2000/12/12 01:53:55 1.1.2.3 +++ projects/cms/source/server/Makefile.inc 2000/12/12 02:45:54 1.1.2.4 @@ -1,14 +1,10 @@ # Include Makefile for the server -# $Id: Makefile.inc,v 1.1.2.3 2000/12/12 01:53:55 tdb Exp $ +# $Id: Makefile.inc,v 1.1.2.4 2000/12/12 02:45:54 tdb Exp $ ## Rule to CVS update the files update : cvs -q -d $(CVSROOT) update -## General rule for building a class file -%.class : %.java - javac -g:none -O -classpath $(JCCLASSPATH) -d $(BUILD) $< - ## How to generate the IDL files IDLMAKE = cd $(SERVERROOT) && $(MAKE) buildidl @@ -17,5 +13,12 @@ $(IDL) : $(SERVERROOT)/idl/iscream.idl $(IDLMAKE) ## General Build Rule for Java Files -DOBUILD : $(IDL) $(CLASS) +DOBUILD : $(COMPILECHECK) $(IDL) + +$(COMPILECHECK) : $(JAVA) + javac -g:none -O -classpath $(JCCLASSPATH) -d $(BUILD) $? @touch $(BUILDCHECK) + @touch $(COMPILECHECK) + +DOCLEAN : + rm -f $(COMPILECHECK)