Mercurial > hg > aim92
diff filter/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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/filter/makefile Fri May 20 15:19:45 2011 +0100 @@ -0,0 +1,58 @@ +########################################################################### +# +# Makefile for AIM filterbank library: libfilter.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 +# +# +########################################################################### + + +default : install + +SDIR = ../stitch + +FLIB = libfilter.a + +INCLUDES = -I$(SDIR) + +.c.o : + $(CC) $(CFLAGS) $(INCLUDES) -c $< + + +############################################################################ +# Make filterbank library. + +OBJS = gamma_tone.o phase.o recurse.o all.o imb.o scales.o formulae.o + +lib $(FLIB) : $(OBJS) + ar rc $@ $? ; $(RANLIB) $@ + + +############################################################################ +# dependencies + +gamma_tone.o: $(SDIR)/stitch.h gamma_tone.h formulae.h recurse.h scales.h phase.h +phase.o: $(SDIR)/stitch.h phase.h +recurse.o: $(SDIR)/stitch.h recurse.h +all.o: $(SDIR)/stitch.h phase.h generic.c recurse.h gamma_tone.h +scales.o: scales.h +formulae.o: formulae.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: + + +############################################################################