SHELL=/bin/sh # SRCS= sdmacar.f OBJS= sdmacar.o # FC = ifort LDFLAGS = LIBS = -L/nwprod/lib -lw3emc_8 -lw3nco_8 -lbufr_8_64 -lbacio_8 CMD = sdm_acar PROFLIB = -lprof #FFLAGS = -fixed -i8 -r8 -qxlf77=leadzero -O3 -qmaxmem=-1 FFLAGS = -fixed -i8 -r8 -O3 # Lines from here on down should not need to be changed. They are the # actual rules which make uses to build a.out. # all: $(CMD) $(CMD): $(OBJS) $(FC) $(LDFLAGS) -o $(@) $(OBJS) $(LIBS) # Make the profiled version of the command and call it a.out.prof # $(CMD).prof: $(OBJS) $(FC) $(LDFLAGS) -o $(@) $(OBJS) $(PROFLIB) $(LIBS) clean: -rm -f $(OBJS) clobber: clean -rm -f $(CMD) $(CMD).prof void: clobber -rm -f $(SRCS) makefile