#***********************************************************************
#***********************************************************************
#
#   Version:        0.4
#   Last modified:  January 13, 1995
#   Authors:        Esmond G. Ng and Barry W. Peyton
#
#   Mathematical Sciences Section, Oak Ridge National Laboratoy
#
#***********************************************************************
#***********************************************************************

include ../MAKEARCH/$(PCx_ARCH).make

CFLAGS  = -O -I. -D$(PCx_ARCH) -DKR_headers 

F2C_FILES = \
 s_stop.o sfe.o fmt.o wsfe.o dfe.o wrtfmt.o \
 lwrite.o err.o wsle.o dolio.o endfile.o fmtlib.o lread.o open.o \
 rdfmt.o rsfe.o sig_die.o util.o wref.o close.o

f2c.a: $(F2C_FILES)
	${AR} r f2c.a $(F2C_FILES)
	$(RANLIB) f2c.a

clean:
	/bin/rm -f *.o  f2c.a

.c.o :; $(CC) $(CFLAGS) -c $*.c -o $*.o
