tomwalters@0: ########################################################################### tomwalters@0: # tomwalters@0: # Makefile for AIM filterbank library (WDF-TLF version): libwdf.a tomwalters@0: # tomwalters@0: # (For convenience, this makefile directly calls the root makefile). tomwalters@0: # tomwalters@0: # @(#)makefile 1.35 J. Holdsworth, (MRC-APU) 6/6/91 tomwalters@0: # M. Allerhand, (MRC-APU) 26/1/93 tomwalters@0: # C. Giguere, 10/3/94 tomwalters@0: # tomwalters@0: ########################################################################### tomwalters@0: tomwalters@0: tomwalters@0: default : install tomwalters@0: tomwalters@0: MDIR = ../model tomwalters@0: SDIR = ../stitch tomwalters@0: FDIR = ../filter tomwalters@0: tomwalters@0: WLIB = libwdf.a tomwalters@0: tomwalters@0: INCLUDES = -I$(MDIR) -I$(SDIR) -I$(FDIR) tomwalters@0: tomwalters@0: .c.o : tomwalters@0: $(CC) $(CFLAGS) $(INCLUDES) -c $< tomwalters@0: tomwalters@0: tomwalters@0: ############################################################################ tomwalters@0: # Make filterbank library (WDF-TLF version). tomwalters@0: tomwalters@0: OBJS = upsample.o fir.o ear.o wdf_ear.o bank_tl.o wdf_tl.o \ tomwalters@0: formulae_tl.o scales_tl.o meddis.o tomwalters@0: tomwalters@0: lib $(WLIB) : $(OBJS) tomwalters@0: ar rc $@ $? ; $(RANLIB) $@ tomwalters@0: tomwalters@0: tomwalters@0: ############################################################################ tomwalters@0: # dependencies tomwalters@0: tomwalters@0: upsample.o: $(SDIR)/stitch.h $(SDIR)/source.h $(MDIR)/calc.h calc_tl.h \ tomwalters@0: fir.h upsample.h tomwalters@0: fir.o: $(SDIR)/stitch.h $(MDIR)/calc.h calc_tl.h fir.h tomwalters@0: ear.o: $(SDIR)/stitch.h $(SDIR)/source.h $(MDIR)/calc.h calc_tl.h \ tomwalters@0: wdf_ear.h ear.h tomwalters@0: wdf_ear.o: $(SDIR)/stitch.h $(MDIR)/calc.h calc_tl.h wdf_ear.h tomwalters@0: bank_tl.o: $(SDIR)/stitch.h $(SDIR)/source.h $(MDIR)/calc.h calc_tl.h \ tomwalters@0: $(FDIR)/formulae.h $(FDIR)/scales.h formulae_tl.h scales_tl.h \ tomwalters@0: wdf_tl.h wdf_ear.h ear.h $(MDIR)/bank.h bank_tl.h tomwalters@0: wdf_tl.o: $(SDIR)/stitch.h $(SDIR)/source.h $(MDIR)/calc.h calc_tl.h \ tomwalters@0: bank_tl.h wdf_ear.h wdf_tl.h tomwalters@0: formulae_tl.o: formulae_tl.h tomwalters@0: scales_tl.o: scales_tl.h tomwalters@0: meddis.o: $(SDIR)/stitch.h $(SDIR)/source.h $(MDIR)/calc.h calc_tl.h \ tomwalters@0: meddis.h tomwalters@0: tomwalters@0: ############################################################################ tomwalters@0: # Make targets in root makefile. tomwalters@0: tomwalters@0: TARGETS = main install all sources \ tomwalters@0: links alllinks demo tar \ tomwalters@0: ftp tape mail clean \ tomwalters@0: sccslinks cleansccs help noplot tomwalters@0: tomwalters@0: $(TARGETS) : FORCE tomwalters@0: @ cd .. ; make $@ tomwalters@0: FORCE: tomwalters@0: tomwalters@0: tomwalters@0: ############################################################################