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