6 # compile, then strip unnecessary symbols
8 $(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c
9 ld -r -x -o $*.xxx $*.o
11 ## Under Solaris (and other systems that do not understand ld -x),
12 ## omit -x in the ld line above.
13 ## If your system does not have the ld command, comment out
14 ## or remove both the ld and mv lines above.
16 OBJ = Version.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \
17 fmt.o fmtlib.o ftell_.o iio.o ilnw.o inquire.o lread.o lwrite.o \
18 open.o rdfmt.o rewind.o rsfe.o rsli.o rsne.o sfe.o sue.o typesize.o \
19 uio.o util.o wref.o wrtfmt.o wsfe.o wsle.o wsne.o xwsne.o
24 ### If your system lacks ranlib, you don't need it; see README.
27 cp libI77.a /usr/lib/libI77.a
28 ranlib /usr/lib/libI77.a
33 # To compile with C++, first "make f2c.h"
35 cat /usr/include/f2c.h f2ch.add >f2c.h
49 endfile.o: fio.h rawio.h
98 xsum Notice README Version.c backspace.c close.c dfe.c dolio.c \
99 due.c endfile.c err.c f2ch.add fio.h fmt.c fmt.h fmtlib.c fp.h \
100 ftell_.c iio.c ilnw.c inquire.c lio.h lread.c lwrite.c makefile \
101 open.c rawio.h rdfmt.c rewind.c rsfe.c rsli.c rsne.c sfe.c sue.c \
102 typesize.c uio.c util.c wref.c wrtfmt.c wsfe.c wsle.c wsne.c \
104 cmp zap libI77.xsum && rm zap || diff libI77.xsum zap