SHELL=/bin/sh OBJS= finduarpt.o fuddte.o fugrpt.o fushdr.o futype.o \ fugfld.o fumain.o fustid.o CC = icc FC = ifort LDFLAGS = -O3 -nofor-main LIBS = -L/${OS_LIB} -lbridge -lgemlib -lcgemlib -lprmcnvlib -lgemlib CMD = sdmraob_finduarpt FFLAGS = -O3 -I/nwprod/sorc/decod_include -I${GEMINC} -I${OS_INC} CFLAGS = -O3 -DUNDERSCORE -I/nwprod/sorc/decod_include -I${GEMINC} -I${OS_INC} all: init $(CMD): $(OBJS) $(FC) $(LDFLAGS) -o $(@) $(OBJS) $(LIBS) rm -f $(OBJS) # The following rule reads the required NAWIPS definitions and then recursively # runs this same makefile with a new target in the spawned shell. init: sh -c ". /nwprod/sorc/decod_include/.gempak; make $(CMD)" clean: -rm -f $(OBJS) clobber: clean -rm -f $(CMD) void: clobber -rm -f $(SRCS) makefile