include /data/26/yann/programmes/yannos/flags.mk MOD=$(HYB_MOD) LOBJ=obj/ #BIN = ../bin BIN = . # VERSION= 1 DBGFLAG = NO INC=-I$(MPI_ROOT)/include FFLAGS = $(Opt) -I$(MOD) $(MODOUT) $(INC) FFLAGS7790 = $(Opt9077) -I$(HYB_MOD) $(MODOUT) $(INC) FFLAGS_noC = $(Opt) -I$(MOD) $(MODOUT) $(INC) #FFLAGS_noC = -g -I$(MOD) -M$(MOD) LDFLAGS = $(Opt) LLIBS = $(LMPI) LDFLAGS = $(Opt) $(LLIBS) SRCS = def_gparam.f90 yannos.f90 module_com_minos.f90 module_neominos.f90 \ module_modele.f90 module_spline.f90 sub_minosa4.f util_minos.f90 \ nrutil.f90 nrtype.f90 yannos_flag.f90 yannos_MPI.f90 layer.f90 OBJS = $(LOBJ)def_gparam.o $(LOBJ)module_com_minos.o $(LOBJ)module_modele.o $(LOBJ)util_minos.o \ $(LOBJ)module_neominos.o $(LOBJ)module_spline.o $(LOBJ)sub_minosa4.o\ $(LOBJ)nrutil.o $(LOBJ)nrtype.o $(LOBJ)yannos_flag.o $(LOBJ)layer.o MODS = $(MOD)module_com_minos.mod $(MOD)yannos_flag.mod\ $(MOD)module_modele.mod $(MOD)module_neominos.mod \ $(MOD)module_spline.mod $(MOD)util_minos.mod \ $(MOD)nrutil.mod $(MOD)nrtype.mod $(MOD)def_gparam.mod $(MOD)layer.mod # yannos1: $(BIN)/yannos1 $(BIN)/yannos1: $(OBJS) $(LOBJ)yannos.o $(F90) $(LDFLAGS) -ftrap=%none -o $(BIN)/yannos$(VERSION) $(LOBJ)yannos.o $(OBJS) $(LLIBS) $(MOVE_MOD) clean_yannos: \rm -f $(OBJS) $(MOD)/*$(pM) # yannos_MPI: $(BIN)/yannos_MPI $(BIN)/yannos_MPI: $(OBJS) $(LOBJ)yannos_MPI.o $(F90) $(LDFLAGS) -o $(BIN)/yannos$(VERSION)_MPI $(LOBJ)yannos_MPI.o $(OBJS) $(LLIBS) $(MOVE_MOD) clean_yannos_MPI: \rm -f $(OBJS) clean: \rm $(OBJS) $(MODS)/*$(pM) # .SUFFIXES: $(SUFFIXES) .f90 $(LOBJ)yannos.o: $(LOBJ)yannos_flag.o $(LOBJ)module_minos.o $(LOBJ)module_neominos.o $(LOBJ)util_minos.o $(LOBJ)layer.o $(LOBJ)yannos_MPI.o: $(LOBJ)yannos_flag.o $(LOBJ)module_minos.o $(LOBJ)module_neominos.o $(LOBJ)util_minos.o $(LOBJ)layer.o $(LOBJ)module_minos.o: $(LOBJ)module_com_minos.o $(LOBJ)sub_minosa4.o: $(LOBJ)module_com_minos.o $(LOBJ)yannos_flag.o $(LOBJ)module_neominos.o: $(LOBJ)module_com_minos.o $(LOBJ)module_spline.o \ $(LOBJ)module_modele.o $(LOBJ)util_minos.o $(LOBJ)yannos_flag.o $(LOBJ)util_minos.o: $(LOBJ)yannos_flag.o $(LOBJ)layer.o $(LOBJ)module_spline.o: $(LOBJ)nrtype.o $(LOBJ)nrutil.o # $(LOBJ)sub_minosa4.o: sub_minosa4.f $(F90) $(FFLAGS7790) -c sub_minosa4.f $(MV) sub_minosa4.o $(LOBJ) $(LOBJ)%.o: %.f90 $(F90) $(FFLAGS) -c $*.f90 $(MV) $*.o $(LOBJ)