#name/location of java compiler JAVAC=javac #javac options #JAVACOPTIONS= -g:none -O #JAVACOPTIONS= -deprecation -g:lines #complete compilation JAVACOMPILE=$(JAVAC) $(JAVACOPTIONS) #make a .class file from a .java file %.class: %.java $(JAVAC) $(JAVACOPTIONS) $< CLASSFILES=NzdlCollectionInfo.class \ NzdlDocumentInfo.class \ NzdlQuery.class \ NzdlQueryHit.class \ NzdlRequest.class \ NzdlResponse.class \ NzdlResultSet.class \ NzdlService.class \ NzdlServiceClient.class \ NzdlServiceServer.class \ NzdlWrapper.class \ NzdlLogWrapper.class \ NzdlDocSaveWrapper.class \ NzdlMultiWayWrapper.class \ NzdlCacheWrapper.class\ NzdlCrossCollectionWrapper.class \ NzdlBrowse.class \ NzdlFilterOptions.class\ NzdlFilterOption.class all: $(CLASSFILES) clean: rm -f *.class