1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
#
# Top level Makefile for Ferret External Functions
#
# September 09 1998
# Jonathan Callahan
#
# ACM 1/2002 add fft directory back in: lsl_lowpass, inverse fcn.
# ACM 4/2006 link all functions that are distributed statically; the
# directories below compile only example functions, functions
# under development, or used locally by PMEL/TMAP (e.g.romea fcns)
#
# Macro Definitions
#
DIRS = contributed decimate examples fft las statistics stringfcns
MOREDIRS = contributed cmprsi_by decimate examples extrema featurecollections gridding fft las statistics stringfcns tax_times
# DIRS = contributed examples fft sort cflib closest_in_list hinterp featurecollections romea odd_formats cat statistics tax_times gridding zaxr
#
# Targets
#
all:
for i in $(DIRS); \
do \
(cd $$i; echo "making" $@ "in $$i..."; \
$(MAKE) );\
done
more:
for i in $(MOREDIRS); \
do \
(cd $$i; echo "making" $@ "in $$i..."; \
$(MAKE) );\
done
debug:
for i in $(DIRS); \
do \
(cd $$i; echo "making debug" $@ "in $$i..."; \
$(MAKE) debug);\
done
install:
for i in $(DIRS); \
do \
(cd $$i; echo "installing" $@ "in $$i..."; \
$(MAKE) install );\
done
clean:
rm -f ext_func/*
for i in $(MOREDIRS); \
do \
(cd $$i; echo "cleaning" $@ "in $$i..."; \
$(MAKE) clean);\
done
#
# End of Makefile
#
|