annotate 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
rev   line source
tomwalters@0 1 ###########################################################################
tomwalters@0 2 #
tomwalters@0 3 # Makefile for AIM graphics library: libglib.a
tomwalters@0 4 #
tomwalters@0 5 # (For convenience, this makefile directly calls the root makefile).
tomwalters@0 6 #
tomwalters@0 7 # @(#)makefile 1.35 J. Holdsworth, (MRC-APU) 6/6/91
tomwalters@0 8 # M. Allerhand, (MRC-APU) 26/1/93
tomwalters@0 9 #
tomwalters@0 10 #
tomwalters@0 11 ###########################################################################
tomwalters@0 12
tomwalters@0 13
tomwalters@0 14 default : install
tomwalters@0 15
tomwalters@0 16 GLIB = libglib.a
tomwalters@0 17 OLIB = libopts.a
tomwalters@0 18
tomwalters@0 19 .c.o :
tomwalters@0 20 $(CC) $(CFLAGS) -c $<
tomwalters@0 21
tomwalters@0 22 ############################################################################
tomwalters@0 23 # Make graphics library.
tomwalters@0 24
tomwalters@0 25 OBJS = X.o null.o ps.o grey.o
tomwalters@0 26
tomwalters@0 27 lib $(GLIB) : $(OBJS)
tomwalters@0 28 ar rc $@ $? ; $(RANLIB) $@
tomwalters@0 29
tomwalters@0 30 $(OLIB) : options.o
tomwalters@0 31 ar rc $@ $? ; $(RANLIB) $@
tomwalters@0 32
tomwalters@0 33
tomwalters@0 34 ############################################################################
tomwalters@0 35 # dependencies
tomwalters@0 36
tomwalters@0 37 X.o: windows.h grey.h
tomwalters@0 38 null.o: windows.h
tomwalters@0 39 ps.o: windows.h grey.h axes.h
tomwalters@0 40 grey.o: grey.h
tomwalters@0 41 options.o: options.h
tomwalters@0 42
tomwalters@0 43
tomwalters@0 44 ############################################################################
tomwalters@0 45 # Make targets in root makefile.
tomwalters@0 46
tomwalters@0 47 TARGETS = main install all sources \
tomwalters@0 48 links alllinks demo tar \
tomwalters@0 49 ftp tape mail clean \
tomwalters@0 50 sccslinks cleansccs help noplot
tomwalters@0 51
tomwalters@0 52 $(TARGETS) : FORCE
tomwalters@0 53 @ cd .. ; make $@
tomwalters@0 54 FORCE:
tomwalters@0 55
tomwalters@0 56
tomwalters@0 57 ############################################################################
tomwalters@0 58