SHELL=/bin/sh # OBJS= sdmair.o # Tunable parameters # FC = ifort #LDFLAGS = -lessl LIBS = -L/nwprod/lib -lbufr_8_64 -lw3emc_8 -lw3nco_8 CMD = sdm_sdmair PROFLIB = -lprof #FFLAGS = -qfixed -qintsize=8 -qrealsize=8 -qxlf77=leadzero -qmaxmem=-1 FFLAGS = -fixed -i8 -r8 # 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