view 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
line wrap: on
line source
###########################################################################
#
#  Makefile for AIM graphics  library:  libglib.a
#
#   (For convenience, this makefile directly calls the root makefile).
#
#   @(#)makefile        1.35 J. Holdsworth, (MRC-APU)  6/6/91
#                            M. Allerhand,  (MRC-APU) 26/1/93
#
#
###########################################################################


default : install

GLIB = libglib.a
OLIB = libopts.a

.c.o :
	$(CC) $(CFLAGS)  -c $<

############################################################################
# Make graphics library.

OBJS = X.o null.o ps.o grey.o

lib $(GLIB) : $(OBJS)
	ar rc $@ $? ; $(RANLIB) $@

$(OLIB) : options.o
	ar rc $@ $? ; $(RANLIB) $@


############################################################################
# dependencies

X.o:       windows.h grey.h
null.o:    windows.h
ps.o:      windows.h grey.h axes.h
grey.o:    grey.h
options.o: options.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:


############################################################################