# 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 # 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 'ATRIUM'. ################################################################## # Make the source ATRIUM: main.o peddata.o hfestimator.o genotype.o family.o matrix.o iqlaestimator.o missing.o function.o genotypetrio.o missingtrio.o iqlbestimator.o $(COMPILER) main.o peddata.o hfestimator.o genotype.o family.o matrix.o iqlaestimator.o missing.o function.o genotypetrio.o missingtrio.o iqlbestimator.o -o ATRIUM main.o: main.cc $(COMPILER) $(OPTIONS) -c main.cc peddata.o: peddata.cc peddata.h $(COMPILER) $(OPTIONS) -c peddata.cc hfestimator.o: hfestimator.cc hfestimator.h $(COMPILER) $(OPTIONS) -c hfestimator.cc genotype.o: genotype.cc genotype.h $(COMPILER) $(OPTIONS) -c genotype.cc family.o: family.cc family.h $(COMPILER) $(OPTIONS) -c family.cc matrix.o: matrix.cc matrix.h $(COMPILER) $(OPTIONS) -c matrix.cc iqlaestimator.o: iqlaestimator.cc iqlaestimator.h $(COMPILER) $(OPTIONS) -c iqlaestimator.cc missing.o: missing.cc missing.h $(COMPILER) $(OPTIONS) -c missing.cc function.o: function.cc function.h $(COMPILER) $(OPTIONS) -c function.cc genotypetrio.o: genotypetrio.cc genotypetrio.h $(COMPILER) $(OPTIONS) -c genotypetrio.cc missingtrio.o: missingtrio.cc missingtrio.h $(COMPILER) $(OPTIONS) -c missingtrio.cc iqlbestimator.o: iqlbestimator.cc iqlbestimator.h $(COMPILER) $(OPTIONS) -c iqlbestimator.cc clean: rm *.o ATRIUM