comparison stitch/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 utilities library: libstitch.a
4 #
5 # (For convenience, this makefile directly calls the root makefile).
6 #
7 # @(#)makefile 1.7 J. Holdsworth, (MRC-APU) 6/6/91
8 # M. Allerhand, (MRC-APU) 26/1/93
9 #
10 #
11 ###########################################################################
12
13
14 default : install
15
16 GDIR = ../glib
17
18 SLIB = libstitch.a
19
20 INCLUDES = -I$(GDIR)
21
22 .c.o :
23 $(CC) $(CFLAGS) $(INCLUDES) -c $<
24
25
26 ############################################################################
27 # Make stitch utilities library.
28
29 OBJS = wrap.o funcs.o draw.o fill.o \
30 pullable.o fillable.o stypes.o io.o \
31 buffer.o source.o srcio.o stitch.o \
32 ops.o
33
34 lib $(SLIB) : $(OBJS)
35 ar rc $@ $? ; $(RANLIB) $@
36
37
38 ############################################################################
39 # dependencies
40
41 stitch.o: stitch.h wrap.h
42 source.o: stitch.h source.h pullable.h fillable.h buffer.h
43 fillable.o: stitch.h source.h fillable.h buffer.h
44 pullable.o: stitch.h source.h pullable.h
45 srcio.o: stitch.h source.h pullable.h fillable.h srcio.h
46 stypes.o: stitch.h source.h ops.h stypes.h
47 funcs.o: stitch.h source.h ops.h funcs.h
48 draw.o: stitch.h source.h ops.h draw.h
49 fill.o: stitch.h source.h fill.h
50 io.o: stitch.h source.h io.h
51 ops.o: stitch.h source.h stypes.h ops.h
52 buffer.o: stitch.h buffer.h
53 wrap.o: stitch.h wrap.h
54
55
56 ############################################################################
57 # Make targets in root makefile.
58
59 TARGETS = main install all sources \
60 links alllinks demo tar \
61 ftp tape mail clean \
62 sccslinks cleansccs help noplot
63
64 $(TARGETS) : FORCE
65 @ cd .. ; make $@
66 FORCE:
67
68
69 ############################################################################