#----------------------------------------------------------------------- # Look for "--->" for things that you need to change for your # particular configuration. #----------------------------------------------------------------------- # This simple Makefile which compiles a single Java program, in the # source file $TARGET.java (where the variable TARGET is set below). # This assumes that you are running on the machines in the CSIC Linux # Lab. # # IMPORTANT NOTE: # --------------- # Before running this makefile, you must first set the environment # variables CLASSPATH and LD_LIBRARY_PATH. To do this, add the # following two lines to the end of your .cshrc file (in your home # directory). Then log off and log in again to activate them. # # setenv CLASSPATH ".:/usr/local/jogl-linux/jogl.jar" # setenv LD_LIBRARY_PATH "/usr/X11R6/lib:/usr/local/jogl-linux" # #----------------------------------------------------------------------- #----------------------------------------------------------------------- # ---> INSERT THE NAME OF YOUR SOURCE FILE HERE #----------------------------------------------------------------------- TARGET = Gears default: javac $(TARGET).java java $(TARGET) clean: rm -f *.class