Mercurial > hg > aim92
annotate 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 |
rev | line source |
---|---|
tomwalters@0 | 1 ########################################################################### |
tomwalters@0 | 2 # |
tomwalters@0 | 3 # Makefile for AIM filterbank library: libfilter.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 # |
tomwalters@0 | 10 # |
tomwalters@0 | 11 ########################################################################### |
tomwalters@0 | 12 |
tomwalters@0 | 13 |
tomwalters@0 | 14 default : install |
tomwalters@0 | 15 |
tomwalters@0 | 16 SDIR = ../stitch |
tomwalters@0 | 17 |
tomwalters@0 | 18 FLIB = libfilter.a |
tomwalters@0 | 19 |
tomwalters@0 | 20 INCLUDES = -I$(SDIR) |
tomwalters@0 | 21 |
tomwalters@0 | 22 .c.o : |
tomwalters@0 | 23 $(CC) $(CFLAGS) $(INCLUDES) -c $< |
tomwalters@0 | 24 |
tomwalters@0 | 25 |
tomwalters@0 | 26 ############################################################################ |
tomwalters@0 | 27 # Make filterbank library. |
tomwalters@0 | 28 |
tomwalters@0 | 29 OBJS = gamma_tone.o phase.o recurse.o all.o imb.o scales.o formulae.o |
tomwalters@0 | 30 |
tomwalters@0 | 31 lib $(FLIB) : $(OBJS) |
tomwalters@0 | 32 ar rc $@ $? ; $(RANLIB) $@ |
tomwalters@0 | 33 |
tomwalters@0 | 34 |
tomwalters@0 | 35 ############################################################################ |
tomwalters@0 | 36 # dependencies |
tomwalters@0 | 37 |
tomwalters@0 | 38 gamma_tone.o: $(SDIR)/stitch.h gamma_tone.h formulae.h recurse.h scales.h phase.h |
tomwalters@0 | 39 phase.o: $(SDIR)/stitch.h phase.h |
tomwalters@0 | 40 recurse.o: $(SDIR)/stitch.h recurse.h |
tomwalters@0 | 41 all.o: $(SDIR)/stitch.h phase.h generic.c recurse.h gamma_tone.h |
tomwalters@0 | 42 scales.o: scales.h |
tomwalters@0 | 43 formulae.o: formulae.h |
tomwalters@0 | 44 |
tomwalters@0 | 45 ############################################################################ |
tomwalters@0 | 46 # Make targets in root makefile. |
tomwalters@0 | 47 |
tomwalters@0 | 48 TARGETS = main install all sources \ |
tomwalters@0 | 49 links alllinks demo tar \ |
tomwalters@0 | 50 ftp tape mail clean \ |
tomwalters@0 | 51 sccslinks cleansccs help noplot |
tomwalters@0 | 52 |
tomwalters@0 | 53 $(TARGETS) : FORCE |
tomwalters@0 | 54 @ cd .. ; make $@ |
tomwalters@0 | 55 FORCE: |
tomwalters@0 | 56 |
tomwalters@0 | 57 |
tomwalters@0 | 58 ############################################################################ |