# # Makefile for Ferret External Functions # # January 20 1998 # Jonathan Callahan # # include platform specific macro definitions # include ../ef_utility/platform_specific_flags.mk.$(HOSTTYPE) # # Macros # .SUFFIXES: .so # # Rules # .F.so: $(F77) $(FFLAGS) $< $(LD) $(LD_DYN_FLAGS) $(SYSLIBS) $*.o -o $*.so # # Targets # # all: ferret_cmn list_good.so xcat.so ycat.so zcat.so tcat.so xreverse.so yreverse.so zreverse.so treverse.so all: ferret_cmn list_good.so debug: $(MAKE) "FFLAGS = $(FFLAGS) $(FFLAGS_DEBUG)" "CFLAGS = $(CFLAGS) $(CFLAGS_DEBUG)" all ferret_cmn: ln -s ../ef_utility/ferret_cmn ferret_cmn install: cp *.so $(FER_LOCAL_EXTFCNS) clean: -rm -f *.o *.so core a.out temp.* ferret_cmn # # End of Makefile #