Rev 3 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
### name of the executable that will be producedPROG = $(INSTALLDIR)/3d_labelling_and_fold_id.exeDATE=$(shell date +"%Y%m%d")# complete list of all f90 source filesSRCS = mo_f2kcli.f90 netcdf_tools.f90 libipo.f 3d_labelling_and_fold_id.f90# --------------------------------------------------------------------OBJS = mo_f2kcli.o netcdf_tools.o libipo.o 3d_labelling_and_fold_id.oall: $(PROG)$(PROG): $(OBJS)$(F90) $(F90FLAGS) $(OBJS) $(LIBS) -o $@list:@echo "------------------------------------------------"@echo "SRCS = $(SRCS)"@echo "------------------------------------------------"@echo@echo "------------------------------------------------"@echo "OBJS = $(OBJS)"@echo "------------------------------------------------"zip:zip -r 3d_labelling_and_fold_id_$(DATE).zip *clean:rm -f *.modrm -f *.odistclean: cleanrm -f $(PROG)help:@echo ''@echo ' posible make targets:'@echo ' -------------------------------------------------------'@echo ' make : build all'@echo ' make all : (= make)'@echo ''@echo ' make clean : delete libs/mod/obj'@echo ' gmake distclean : clean up distribution'@echo ''@echo ' gmake zip : zip source-code'@echo ' -------------------------------------------------------'@echo ''%.o: %.f90$(F90) $(F90FLAGS) $(LIBS) $(INCLUDES) -c $<%.o: %.f$(FC) $(FFLAGS) $(LIBS) $(INCLUDES) -c $<## ------------------------------------------------------------------