CLASSES = FileDialog.class\ PreferencesDialog.class\ CSFrame.class \ CSModel.class\ Constants.class\ Result.class\ ResultModel.class\ SearchPanel.class\ SimpleGraphicalClient.class\ CollectionInfoDialog.class\ DocumentInfoDialog.class all : $(CLASSES) echo try a command like "java org.nzdl.gsdl.SimpleGraphicalClient.SimpleGraphicalClient" clean: rm -f *.class distclean : clean # Instructions for compiling the java files JAVAC=javac #JAVACOPTIONS= -g:lines #JAVACOPTIONS= -g:none -O %.class : %.java $(JAVAC) $(JAVACOPTIONS) $<