SHELL=/bin/sh # SRCS= readqc.f OBJS= readqc.o # Tunable parameters # FC = ifort LDFLAGS = LIBS = CMD = sdm_readqc PROFLIB = -lprof #FFLAGS = -qintsize=8 -qrealsize=8 -qxlf77=leadzero FFLAGS = -i8 -r8 -assume byterecl # 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