#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=NzdlPreferences.class\ NzdlConstants.class \ NzdlCorbaFactory.class \ NzdlHosts.class \ NzdlServiceFactory.class all: $(CLASSFILES) clean: rm -f *.class