annotate wdf/makefile @ 0:5242703e91d3 tip

Initial checkin for AIM92 aimR8.2 (last updated May 1997).
author tomwalters
date Fri, 20 May 2011 15:19:45 +0100
parents
children
rev   line source
tomwalters@0 1 ###########################################################################
tomwalters@0 2 #
tomwalters@0 3 # Makefile for AIM filterbank library (WDF-TLF version): libwdf.a
tomwalters@0 4 #
tomwalters@0 5 # (For convenience, this makefile directly calls the root makefile).
tomwalters@0 6 #
tomwalters@0 7 # @(#)makefile 1.35 J. Holdsworth, (MRC-APU) 6/6/91
tomwalters@0 8 # M. Allerhand, (MRC-APU) 26/1/93
tomwalters@0 9 # C. Giguere, 10/3/94
tomwalters@0 10 #
tomwalters@0 11 ###########################################################################
tomwalters@0 12
tomwalters@0 13
tomwalters@0 14 default : install
tomwalters@0 15
tomwalters@0 16 MDIR = ../model
tomwalters@0 17 SDIR = ../stitch
tomwalters@0 18 FDIR = ../filter
tomwalters@0 19
tomwalters@0 20 WLIB = libwdf.a
tomwalters@0 21
tomwalters@0 22 INCLUDES = -I$(MDIR) -I$(SDIR) -I$(FDIR)
tomwalters@0 23
tomwalters@0 24 .c.o :
tomwalters@0 25 $(CC) $(CFLAGS) $(INCLUDES) -c $<
tomwalters@0 26
tomwalters@0 27
tomwalters@0 28 ############################################################################
tomwalters@0 29 # Make filterbank library (WDF-TLF version).
tomwalters@0 30
tomwalters@0 31 OBJS = upsample.o fir.o ear.o wdf_ear.o bank_tl.o wdf_tl.o \
tomwalters@0 32 formulae_tl.o scales_tl.o meddis.o
tomwalters@0 33
tomwalters@0 34 lib $(WLIB) : $(OBJS)
tomwalters@0 35 ar rc $@ $? ; $(RANLIB) $@
tomwalters@0 36
tomwalters@0 37
tomwalters@0 38 ############################################################################
tomwalters@0 39 # dependencies
tomwalters@0 40
tomwalters@0 41 upsample.o: $(SDIR)/stitch.h $(SDIR)/source.h $(MDIR)/calc.h calc_tl.h \
tomwalters@0 42 fir.h upsample.h
tomwalters@0 43 fir.o: $(SDIR)/stitch.h $(MDIR)/calc.h calc_tl.h fir.h
tomwalters@0 44 ear.o: $(SDIR)/stitch.h $(SDIR)/source.h $(MDIR)/calc.h calc_tl.h \
tomwalters@0 45 wdf_ear.h ear.h
tomwalters@0 46 wdf_ear.o: $(SDIR)/stitch.h $(MDIR)/calc.h calc_tl.h wdf_ear.h
tomwalters@0 47 bank_tl.o: $(SDIR)/stitch.h $(SDIR)/source.h $(MDIR)/calc.h calc_tl.h \
tomwalters@0 48 $(FDIR)/formulae.h $(FDIR)/scales.h formulae_tl.h scales_tl.h \
tomwalters@0 49 wdf_tl.h wdf_ear.h ear.h $(MDIR)/bank.h bank_tl.h
tomwalters@0 50 wdf_tl.o: $(SDIR)/stitch.h $(SDIR)/source.h $(MDIR)/calc.h calc_tl.h \
tomwalters@0 51 bank_tl.h wdf_ear.h wdf_tl.h
tomwalters@0 52 formulae_tl.o: formulae_tl.h
tomwalters@0 53 scales_tl.o: scales_tl.h
tomwalters@0 54 meddis.o: $(SDIR)/stitch.h $(SDIR)/source.h $(MDIR)/calc.h calc_tl.h \
tomwalters@0 55 meddis.h
tomwalters@0 56
tomwalters@0 57 ############################################################################
tomwalters@0 58 # Make targets in root makefile.
tomwalters@0 59
tomwalters@0 60 TARGETS = main install all sources \
tomwalters@0 61 links alllinks demo tar \
tomwalters@0 62 ftp tape mail clean \
tomwalters@0 63 sccslinks cleansccs help noplot
tomwalters@0 64
tomwalters@0 65 $(TARGETS) : FORCE
tomwalters@0 66 @ cd .. ; make $@
tomwalters@0 67 FORCE:
tomwalters@0 68
tomwalters@0 69
tomwalters@0 70 ############################################################################