www.pudn.com > BPËã·¨Ô´Âë.zip > makereal.unx


# This makefile makes the most commonly used entirely floating point 
# version, bp and leaves the object files around.  Use makefile.unx for 
# the other possible programs. 
 
# If your C uses the ANSI standard of single precision arithmetic 
# instead of the original Kernighan and Richie standard of double for 
# all floating point arithmetic you will probably want to change the 
# -DDOUBLE flag to -DFLOAT. 
 
# If you're using BSD add the flag -DBSD.  If you're using a NeXT add 
# the flag -DNEXT.  Suns and System V variations don't need an extra 
# flag. 
 
CFLAGS= -s -DDOUBLE -DUNIX 
 
bp: bp.o io.o misc.o real.o makereal.unx rbp.h 
	cc $(CFLAGS) bp.o io.o misc.o real.o -lm -o bp 
 
bp.o: bp.c rbp.h makereal.unx 
	cc $(CFLAGS) bp.c -c 
 
io.o: io.c rbp.h makereal 
	cc $(CFLAGS) io.c -c -O 
 
misc.o: misc.c rbp.h makereal 
	cc $(CFLAGS) misc.c -c -O 
 
real.o: real.c rbp.h makereal 
	cc $(CFLAGS) real.c -c -O