# **************************************************************************** # * NCSA HDF * # * Software Development Group * # * National Center for Supercomputing Applications * # * University of Illinois at Urbana-Champaign * # * 605 E. Springfield, Champaign IL 61820 * # * * # *************************************************************************** # # $Id: Makefile,v 1.15.4.4 1995/01/18 17:52:30 sxu Exp $ # # ==> Uncomment the line with your system type on it. MACHINE = SUN #MACHINE = UNICOS #MACHINE = IRIS4 #MACHINE = ALPHA #MACHINE = APOLLO #MACHINE = IBM6000 #MACHINE = CONVEX #MACHINE = VMS #MACHINE = MIPSEL #MACHINE = MAC #MACHINE = PC #MACHINE = HP9000 CP=/bin/cp RM=/bin/rm RMFLAGS=-f # ==> where are your libdf.a and *.h files HDFLIB = /hdf/install/sun/lib HDFINC = /hdf/install/include HDFBIN = /hdf/install/bin #For IRIS4, include libgl_s.a #GLLIB = -lgl_s GLLIB = CFLAGS = -D$(MACHINE) # ==> For ALPHA, specify CFLAGS as follows: #CFLAGS= -g -DALPHA -std1 # ==> For IRIS4, specify CFLAGS as follows: #CFLAGS= -g -D$(MACHINE) -ansi all: utils # -if( test \! -d $(HDFBIN)) then (mkdir $(HDFBIN)) fi UTILS = hdfrseq .c: $(HDFLIB)/libdf.a $(CC) $(CFLAGS) -I$(HDFINC) $< -o $@ $(HDFLIB)/libdf.a $(GLLIB) utils: $(UTILS) clean: -$(RM) $(RMFLAGS) *.o $(UTILS) distclean: -$(RM) $(RMFLAGS) *.o $(UTILS)