# # This is a template Makefile to be put in the implementation/source/java # directory of a 206 project. Goto the line labeled "FLL IN HERE" to # customize this template for your project. # # In order for this Makefile to work properly, your project directory must be # set up per the 206 SOP, Volume 1. In particular, you must have the following # directories defined: # # DIRECTORY CONTENTS # ===================================================================== # implementation/source/java root directory for the .java source files # of your project, organized into packages # # implementation/executables/JVM root directory for the .class executable # files generated by the Java compiler # CSC 206 java lib directory LIB206 = /users/faculty/gfisher/classes/206/lib/JVM # Directory for generated executable files EXECUTABLES = ../../executables/JVM ### FILL IN HERE: # On lines following "FILES = \" below, fill in the names of all the Java # source files for your project. Each line should be of the form: # # PACKAGE_DIR/*.java # # where "PACKAGE_DIR" is the name of one of your project packages. Be sure to # end each package line except for the last with a backslash character. FILES = \ protoj/*.java \ protoj/components/*.java \ protoj/components_ui/*.java \ protoj/drawing/*.java \ protoj/drawing_ui/*.java \ protoj/edit/*.java \ protoj/edit_ui/*.java \ protoj/file/*.java \ protoj/file_ui/*.java \ protoj/help/*.java \ protoj/help_ui/*.java \ protoj/protoj/*.java \ protoj/protoj_ui/*.java \ protoj/structure/*.java \ protoj/structure_ui/*.java \ protoj/style/*.java \ protoj/style_ui/*.java \ protoj/tools/*.java \ protoj/tools_ui/*.java \ protoj/view/*.java \ protoj/view_ui/*.java # Run the Java compiler on all of the files. all: $(FILES) javac -g \ -classpath $(LIB206):bsh-1.2b7.jar \ -d $(EXECUTABLES) \ $(FILES) cd $(EXECUTABLES); make -f Makefile-waldorf clean: @csh -c .make-clean