home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 177.lha / Newton_v1.0 / Makefile < prev    next >
Makefile  |  1988-04-28  |  994b  |  38 lines

  1. ############################################################################
  2. # Makefile for the "Newton" program, using Manx C V3.6a.
  3. #
  4. # Written by Daniel Barrett.  100% PUBLIC DOMAIN.
  5. ############################################################################
  6.  
  7. LFLAGS=-g +Q
  8. SRC=main.c complex.c io.c ds.c strtok.c
  9. OBJ=main.o complex.o io.o ds.o strtok.o
  10. PROG=Newton
  11.  
  12. # Use ma32.lib for IEEE double precision floating point arithmetic.
  13. CFLAGS=+L -n +Iinclude.pre +fi
  14. LIBS=-lma32 -lc32
  15.  
  16. # Or, Use m32.lib for faster, less precise arithmetic.
  17. #CFLAGS=+L -n +Iinclude.pre
  18. #LIBS=-lm32 -lc32
  19.  
  20. # Or, use 68881 library for double precision arithmetic.
  21. # Program crashed when I tried to run it after this compilation.
  22. #CFLAGS=+L -n +Iinclude.pre +f8
  23. #LIBS=-lm832 -lc32
  24.     
  25. amiga:        include.pre $(PROG)
  26.  
  27. include.pre:    decl.h
  28.         cc +L -n +Hinclude.pre decl.h
  29.         delete decl.o
  30.  
  31. $(PROG):    $(OBJ) 
  32.         ln $(LFLAGS) $(OBJ) -o $(PROG) $(LIBS)
  33.     
  34. $(OBJ):        decl.h
  35.  
  36. clean:
  37.         delete \#?.o $(PROG) $(PROG).dbg include.pre
  38.