1
# For making f2c.lib (here called vcf2c.lib) with Microsoft Visual C++ .
2
# Invoke with "nmake -f makefile.vc" .
4
# To get signed zeros in write statements on IEEE-arithmetic systems,
5
# add -DSIGNED_ZEROS to the CFLAGS assignment below and add signbit.obj
6
# to the objects in the "w =" list below.
9
CFLAGS = -DUSE_CLOCK -DMSDOS -DNO_ONEXIT -Ot1 -DNO_My_ctype
12
$(CC) -c $(CFLAGS) $*.c
169
all: f2c.h math.h signal1.h sysdep1.h vcf2c.lib
177
signal1.h: signal1.h0
178
copy signal1.h0 signal1.h
180
sysdep1.h: sysdep1.h0
181
copy sysdep1.h0 sysdep1.h
184
lib -out:vcf2c.lib @libf2c.lbc
187
$(CC) -c $(CFLAGS) -DMSDOS open.c
189
signbit.obj uninit.obj: arith.h
192
comptry.bat $(CC) $(CFLAGS) -DNO_FPINIT arithchk.c