diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stitch/makefile	Fri May 20 15:19:45 2011 +0100
@@ -0,0 +1,69 @@
+###########################################################################
+#
+#  Makefile for AIM utilities library:  libstitch.a
+#
+#   (For convenience, this makefile directly calls the root makefile).
+#
+#   @(#)makefile        1.7  J. Holdsworth, (MRC-APU)  6/6/91
+#                            M. Allerhand,  (MRC-APU) 26/1/93
+#
+#
+###########################################################################
+
+
+default : install
+
+GDIR = ../glib
+
+SLIB = libstitch.a
+
+INCLUDES  =  -I$(GDIR)
+
+.c.o :
+	$(CC) $(CFLAGS) $(INCLUDES) -c $<
+
+
+############################################################################
+# Make stitch utilities library.
+
+OBJS =  wrap.o          funcs.o         draw.o          fill.o          \
+	pullable.o      fillable.o      stypes.o        io.o            \
+	buffer.o        source.o        srcio.o         stitch.o        \
+	ops.o
+
+lib $(SLIB) : $(OBJS)
+	ar rc $@ $? ; $(RANLIB) $@
+
+
+############################################################################
+# dependencies
+
+stitch.o:   stitch.h wrap.h
+source.o:   stitch.h source.h pullable.h fillable.h buffer.h
+fillable.o: stitch.h source.h            fillable.h buffer.h
+pullable.o: stitch.h source.h pullable.h
+srcio.o:    stitch.h source.h pullable.h fillable.h srcio.h
+stypes.o:   stitch.h source.h ops.h stypes.h
+funcs.o:    stitch.h source.h ops.h funcs.h
+draw.o:     stitch.h source.h ops.h draw.h
+fill.o:     stitch.h source.h fill.h
+io.o:       stitch.h source.h io.h
+ops.o:      stitch.h source.h stypes.h ops.h
+buffer.o:   stitch.h buffer.h
+wrap.o:     stitch.h wrap.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:
+
+
+############################################################################