Mercurial > hg > aim92
comparison model/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 model library: libmodel.a | |
4 # | |
5 # (For convenience, this makefile directly calls the root makefile). | |
6 # | |
7 # @(#)makefile 1.44 J. Holdsworth, (MRC-APU) 6/6/91 | |
8 # M. Allerhand, (MRC-APU) 26/1/93 | |
9 # C. Giguere, 21/3/94 | |
10 # | |
11 ########################################################################### | |
12 | |
13 | |
14 default : install | |
15 | |
16 GDIR = ../glib | |
17 SDIR = ../stitch | |
18 FDIR = ../filter | |
19 WDIR = ../wdf | |
20 | |
21 MLIB = libmodel.a | |
22 GLIB = $(GDIR)/libglib.a | |
23 SLIB = $(SDIR)/libstitch.a | |
24 FLIB = $(FDIR)/libfilter.a | |
25 WLIB = $(WDIR)/libwdf.a | |
26 | |
27 LIBS = $(MLIB) $(GLIB) $(SLIB) $(FLIB) $(WLIB) | |
28 | |
29 INCLUDES = -I$(SDIR) -I$(GDIR) -I$(FDIR) -I$(WDIR) | |
30 | |
31 .c.o : | |
32 $(CC) $(CFLAGS) $(INCLUDES) -c $< | |
33 | |
34 | |
35 ############################################################################ | |
36 # Make model library. | |
37 | |
38 OBJS = units.o defaults.o bank.o interp.o \ | |
39 integrate.o corti.o new.o atan.o \ | |
40 image.o spiral.o faster.o version.o model.o | |
41 | |
42 lib $(MLIB) : $(OBJS) | |
43 ar rc $@ $? ; $(RANLIB) $@ | |
44 | |
45 | |
46 ############################################################################ | |
47 # dependencies | |
48 | |
49 gen.o : model.h calc.h spiral.h | |
50 model.o: model.h calc.h corti.h units.h bank.h | |
51 bank.o : bank.h | |
52 new.o : calc.h | |
53 integrate.o : integrate.h calc.h | |
54 corti.o : corti.h calc.h corti.h | |
55 image.o : calc.h image.h | |
56 faster.o: calc.h | |
57 spiral.o: spiral.h | |
58 io.o: io.h | |
59 units.o: units.h | |
60 defaults.o: defaults.h model.h | |
61 model.o: model.h units.h defaults.h image.h spiral.h | |
62 model.o: $(WDIR)/bank_tl.h $(WDIR)/ear.h $(WDIR)/meddis.h \ | |
63 $(WDIR)/formulae_tl.h $(WDIR)/upsample.h $(WDIR)/calc_tl.h | |
64 | |
65 ############################################################################ | |
66 # Make targets in root makefile. | |
67 | |
68 TARGETS = main install all sources \ | |
69 links alllinks demo tar \ | |
70 ftp tape mail clean \ | |
71 sccslinks cleansccs help noplot | |
72 | |
73 $(TARGETS) : FORCE | |
74 @ cd .. ; make $@ | |
75 FORCE: | |
76 | |
77 | |
78 ############################################################################ |