Mercurial > hg > aim92
view 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 |
line wrap: on
line source
########################################################################### # # Makefile for AIM model library: libmodel.a # # (For convenience, this makefile directly calls the root makefile). # # @(#)makefile 1.44 J. Holdsworth, (MRC-APU) 6/6/91 # M. Allerhand, (MRC-APU) 26/1/93 # C. Giguere, 21/3/94 # ########################################################################### default : install GDIR = ../glib SDIR = ../stitch FDIR = ../filter WDIR = ../wdf MLIB = libmodel.a GLIB = $(GDIR)/libglib.a SLIB = $(SDIR)/libstitch.a FLIB = $(FDIR)/libfilter.a WLIB = $(WDIR)/libwdf.a LIBS = $(MLIB) $(GLIB) $(SLIB) $(FLIB) $(WLIB) INCLUDES = -I$(SDIR) -I$(GDIR) -I$(FDIR) -I$(WDIR) .c.o : $(CC) $(CFLAGS) $(INCLUDES) -c $< ############################################################################ # Make model library. OBJS = units.o defaults.o bank.o interp.o \ integrate.o corti.o new.o atan.o \ image.o spiral.o faster.o version.o model.o lib $(MLIB) : $(OBJS) ar rc $@ $? ; $(RANLIB) $@ ############################################################################ # dependencies gen.o : model.h calc.h spiral.h model.o: model.h calc.h corti.h units.h bank.h bank.o : bank.h new.o : calc.h integrate.o : integrate.h calc.h corti.o : corti.h calc.h corti.h image.o : calc.h image.h faster.o: calc.h spiral.o: spiral.h io.o: io.h units.o: units.h defaults.o: defaults.h model.h model.o: model.h units.h defaults.h image.h spiral.h model.o: $(WDIR)/bank_tl.h $(WDIR)/ear.h $(WDIR)/meddis.h \ $(WDIR)/formulae_tl.h $(WDIR)/upsample.h $(WDIR)/calc_tl.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: ############################################################################