home *** CD-ROM | disk | FTP | other *** search
Makefile | 1988-04-28 | 994 b | 38 lines |
- ############################################################################
- # Makefile for the "Newton" program, using Manx C V3.6a.
- #
- # Written by Daniel Barrett. 100% PUBLIC DOMAIN.
- ############################################################################
-
- LFLAGS=-g +Q
- SRC=main.c complex.c io.c ds.c strtok.c
- OBJ=main.o complex.o io.o ds.o strtok.o
- PROG=Newton
-
- # Use ma32.lib for IEEE double precision floating point arithmetic.
- CFLAGS=+L -n +Iinclude.pre +fi
- LIBS=-lma32 -lc32
-
- # Or, Use m32.lib for faster, less precise arithmetic.
- #CFLAGS=+L -n +Iinclude.pre
- #LIBS=-lm32 -lc32
-
- # Or, use 68881 library for double precision arithmetic.
- # Program crashed when I tried to run it after this compilation.
- #CFLAGS=+L -n +Iinclude.pre +f8
- #LIBS=-lm832 -lc32
-
- amiga: include.pre $(PROG)
-
- include.pre: decl.h
- cc +L -n +Hinclude.pre decl.h
- delete decl.o
-
- $(PROG): $(OBJ)
- ln $(LFLAGS) $(OBJ) -o $(PROG) $(LIBS)
-
- $(OBJ): decl.h
-
- clean:
- delete \#?.o $(PROG) $(PROG).dbg include.pre
-