view 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
line wrap: on
line source
###########################################################################
#
#  Makefile for AIM filterbank library (WDF-TLF version):  libwdf.a
#
#   (For convenience, this makefile directly calls the root makefile).
#
#   @(#)makefile        1.35 J. Holdsworth, (MRC-APU)  6/6/91
#                            M. Allerhand,  (MRC-APU) 26/1/93
#                            C. Giguere,              10/3/94
#
###########################################################################


default : install

MDIR = ../model
SDIR = ../stitch
FDIR = ../filter

WLIB = libwdf.a

INCLUDES  =  -I$(MDIR) -I$(SDIR) -I$(FDIR)

.c.o :
	$(CC) $(CFLAGS) $(INCLUDES) -c $<


############################################################################
# Make filterbank library (WDF-TLF version).

OBJS = upsample.o fir.o ear.o wdf_ear.o bank_tl.o wdf_tl.o \
       formulae_tl.o scales_tl.o meddis.o

lib $(WLIB) : $(OBJS)
	ar rc $@ $? ; $(RANLIB) $@


############################################################################
# dependencies

upsample.o:     $(SDIR)/stitch.h $(SDIR)/source.h $(MDIR)/calc.h calc_tl.h \
                fir.h upsample.h
fir.o:          $(SDIR)/stitch.h $(MDIR)/calc.h calc_tl.h fir.h
ear.o:          $(SDIR)/stitch.h $(SDIR)/source.h $(MDIR)/calc.h calc_tl.h \
		wdf_ear.h ear.h
wdf_ear.o:      $(SDIR)/stitch.h $(MDIR)/calc.h calc_tl.h wdf_ear.h
bank_tl.o:      $(SDIR)/stitch.h $(SDIR)/source.h $(MDIR)/calc.h calc_tl.h \
		$(FDIR)/formulae.h $(FDIR)/scales.h formulae_tl.h scales_tl.h \
		wdf_tl.h wdf_ear.h ear.h $(MDIR)/bank.h bank_tl.h
wdf_tl.o:       $(SDIR)/stitch.h $(SDIR)/source.h $(MDIR)/calc.h calc_tl.h \
		bank_tl.h wdf_ear.h wdf_tl.h
formulae_tl.o:  formulae_tl.h
scales_tl.o:    scales_tl.h
meddis.o:       $(SDIR)/stitch.h $(SDIR)/source.h $(MDIR)/calc.h calc_tl.h \
		meddis.h

############################################################################
# Make targets in root makefile.

TARGETS   = main        install     all         sources \
	    links       alllinks    demo        tar     \
	    ftp         tape        mail        clean   \
	    sccslinks   cleansccs   help        noplot

$(TARGETS) : FORCE
	@ cd .. ; make $@
FORCE:


############################################################################