# Uncomment the COMPILER and OPTIONS lines corresponding to # the platform and compiler you plan to use. # If compiling with the gcc compiler. COMPILER = g++ OPTIONS = -O3 -Wall # If compiling with the Sun CC compiler on a Sparc machine. # COMPILER = CC # OPTIONS = -fast -xO4 # Generic, should work on work on most machines that do not have g++ # installed, but may not produce the most optimal code. #COMPILER = CC #OPTIONS = -O # Uncomment the following line to produce code you can debug. # OPTIONS = -g -DUSE_ASSERTS # You should not need to change anything below this line # Type 'make'. This will build the program 'dhsmap'. ################################################################## HEADERS = declare.h grid.h simpstrg.h \ functions.h includes.h vector.h SOURCES = main.C estfunctions.C genfunctions.C inputfunctions.C \ makeobjectfunctions.C mapfunctions.C prefunctions.C routines.C \ esthapfreq.C simpstrg.C step.C se.C makeobjectfunctionsmkv2.C \ esthapfreqmkv2.C genfunctionsmkv2.C OBJECTS = $(SOURCES:.C=.o) # Make object files from source code %.o : %.C $(COMPILER) $(OPTIONS) -c $< # Make the source dhsmap: $(HEADERS) $(OBJECTS) $(COMPILER) $(OPTIONS) -o dhsmap $(OBJECTS) # Clean up clean: /bin/rm -f *.o dhsmap