home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / calculat / meval113.zip / SRC / MAKEFILE.ASA < prev    next >
Text File  |  1993-04-14  |  1KB  |  55 lines

  1. #
  2. # Amiga SAS C 6.x Makefile for Eval.  Uses Amiga IEEE libraries.
  3. #
  4. # This make file has a different format from the others because
  5. # SAS Make 6.1 does not correctly make using a Makefile of the
  6. # shorter format.
  7. #
  8. # Since Eval does not need a lot of speed, the IEEE libraries
  9. # (which auto-detect the 68881/2 if available but are slower than
  10. # native 68881/2 code) are sufficient, and they keep the code smaller.
  11. #
  12. CC=sc
  13. CCFLAGS=nolink math=ieee
  14. LN=sc
  15. LNFLAGS=math=ieee
  16. LIBC=
  17. LIBM=
  18. EXE=
  19. OBJ=.o
  20. HEADER=eval.h
  21. OBJFILES=eval$(OBJ) funcs$(OBJ) parse$(OBJ) estack$(OBJ) base$(OBJ) \
  22.      bitwise$(OBJ) etable$(OBJ) help$(OBJ) emath$(OBJ)
  23.  
  24. eval$(OBJ): eval.c eval.h
  25.     $(CC) $(CCFLAGS) eval.c
  26.  
  27. funcs$(OBJ): funcs.c eval.h
  28.     $(CC) $(CCFLAGS) funcs.c
  29.  
  30. parse$(OBJ): parse.c eval.h
  31.     $(CC) $(CCFLAGS) parse.c
  32.  
  33. estack$(OBJ): estack.c eval.h
  34.     $(CC) $(CCFLAGS) estack.c
  35.  
  36. base$(OBJ): base.c eval.h
  37.     $(CC) $(CCFLAGS) base.c
  38.  
  39. bitwise$(OBJ): bitwise.c eval.h
  40.     $(CC) $(CCFLAGS) bitwise.c
  41.  
  42. etable$(OBJ): etable.c eval.h
  43.     $(CC) $(CCFLAGS) etable.c
  44.  
  45. help$(OBJ): help.c eval.h
  46.     $(CC) $(CCFLAGS) help.c
  47.  
  48. emath$(OBJ): emath.c eval.h
  49.     $(CC) $(CCFLAGS) emath.c
  50.  
  51. eval$(EXE):  $(OBJFILES)
  52.     $(LN) $(LNFLAGS) $(OBJFILES) $(LIBM) $(LIBC)
  53.  
  54. all:    eval$(EXE)
  55.