comparison glib/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 graphics library: libglib.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 #
10 #
11 ###########################################################################
12
13
14 default : install
15
16 GLIB = libglib.a
17 OLIB = libopts.a
18
19 .c.o :
20 $(CC) $(CFLAGS) -c $<
21
22 ############################################################################
23 # Make graphics library.
24
25 OBJS = X.o null.o ps.o grey.o
26
27 lib $(GLIB) : $(OBJS)
28 ar rc $@ $? ; $(RANLIB) $@
29
30 $(OLIB) : options.o
31 ar rc $@ $? ; $(RANLIB) $@
32
33
34 ############################################################################
35 # dependencies
36
37 X.o: windows.h grey.h
38 null.o: windows.h
39 ps.o: windows.h grey.h axes.h
40 grey.o: grey.h
41 options.o: options.h
42
43
44 ############################################################################
45 # Make targets in root makefile.
46
47 TARGETS = main install all sources \
48 links alllinks demo tar \
49 ftp tape mail clean \
50 sccslinks cleansccs help noplot
51
52 $(TARGETS) : FORCE
53 @ cd .. ; make $@
54 FORCE:
55
56
57 ############################################################################
58