home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 594a.lha / IP_Interface_example / makefile next >
Makefile  |  1992-01-03  |  1KB  |  29 lines

  1. #
  2. # list of object modules that final linked output depends upon:
  3. #
  4. OBJ1 = OBJS/negative.o
  5.  
  6. #
  7. # Object for function, depends upon its own source code
  8. # -----------------------------------------------------
  9. # Compiler flags:
  10. #    -O          Global Optomizer is used
  11. #    -v          No stack checking
  12. #    -d0         No DEBUG hunks
  13. #    -b0         Use 32 bit code (change this to b1 for 16 bit code)
  14. #    -oobjs/#?.o Put output object in subdir called "objs" (separate from src)
  15. #    - $*        Just inserts file name for compiler
  16. #
  17. OBJS/negative.o   :    negative.c
  18.     lc:lc -O -v -d0 -b0 -oobjs/$*.o - $*
  19.  
  20. #
  21. # Final link control; uses text file "negative_list" to control object used
  22. # if you were to change to the 'b1' option, you'd also need to change the
  23. # library "LCNB.lib" to "LC.lib" - this is the 16 bit library. For compiles
  24. # under AmigaDOS 2.0, you would change the "AMIGA.lib" to "AMIGA2.0.lib".
  25. # Note that the linked output goes to the c: assigned location.
  26. #
  27. negative :  $(OBJ1)
  28.     blink WITH negative_List LIBRARY LIB:LCM.lib+LIB:LCNB.lib+LIB:AMIGA.lib TO c:negative VERBOSE NODEBUG
  29.