# M A K E F I L E # # ARCHICTECTURE = linux # PROGRAMS = opus_psp #FCOMPLR = gfc FCOMPLR = gfortran FCFLAGS = -c -O3 #-xN #FCFLAGS = -c -O3 #FCFLAGS = -c -g FINCPATH = CCOMPLR = icc CCFLAGS = LDFLAGS = LIBPATH = LIB = OBJECTS = module90.o orient.o main.o coordinate.o energy_orient.o rotatefit.o diag.o SOURCES = module90.f90 orient.f90 main.f coordinate.f energy_orient.f rotatefit.g diag.f default: $(PROGRAMS) opus_psp : $(OBJECTS) Makefile $(FCOMPLR) $(LDFLAGS) $(OBJECTS) $(LIBPATH) $(LIB) -o $@ .c.o : $(CCOMPLR) $(CCFLAGS) $(CINCPATH) -c $< #tripep_closure.o : tripep_closure.f90 # $(FCOMPLR) $(FCFLAGS) $(F90INCPATH) $< .f.o : $(FCOMPLR) $(FCFLAGS) $(F90INCPATH) -c $< orient.o : orient.f90 $(FCOMPLR) $(FCFLAGS) $(F90INCPATH) -c $< module90.o : module90.f90 $(FCOMPLR) $(FCFLAGS) $(F90INCPATH) -c $< # specific dependencies clean : rm -f *~ *.mod $(PROGRAMS) $(OBJECTS)