home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / UTILS / JAMAPI / CAPI / WINDOWS / MAKEWIN.ZTC < prev   
Text File  |  1993-07-01  |  2KB  |  50 lines

  1. #
  2. #   JAM(mbp) - The Joaquim-Andrew-Mats Message Base Proposal
  3. #
  4. #   C API
  5. #
  6. #   Written by Mats Wallin
  7. #
  8. #   ----------------------------------------------------------------------
  9. #
  10. #   makefile (JAMmb)
  11. #
  12. #   Make file for JAM(mbp) C API library and Zortech C++ 3.x
  13. #
  14. #   This makefile creates a Windows DLL file.
  15. #   The resulting DLL file will require a 286 or later, and Windows in
  16. #   protected mode.
  17. #
  18. #   NOTE! ZRC is not able to handle the Version Resource
  19. #         To use the ZRC resource compiler, the Version Resource should be
  20. #         removed from the JAMAPI.RC file
  21. #
  22. #   Copyright 1993 Joaquim Homrighausen, Andrew Milner, Mats Birch, and
  23. #   Mats Wallin. ALL RIGHTS RESERVED.
  24. #
  25. CMDL    = l
  26. CC      = ztc
  27. RC      = rc
  28. #RC      = zrc
  29. CFLAGS  = -c -2 -m$(CMDL)wu -o+all -W2 -r -w- -D_WINDOWS -a1
  30.  
  31. OBJS    = jamfetch.obj jamfield.obj jamhinfo.obj jamlock.obj\
  32.           jamlread.obj jammbini.obj jamscan.obj  jamstore.obj\
  33.           jamcrc32.obj jamsys.obj
  34.  
  35. .c.obj:
  36.     $(CC) $(CFLAGS) $*.c
  37.  
  38. jamapi.dll:     $(OBJS)
  39.         echo jamfetch.obj jamfield.obj jamhinfo.obj jamlock.obj  +  >  $*.rsp
  40.         echo jamlread.obj jammbini.obj jamscan.obj  jamstore.obj +  >> $*.rsp
  41.         echo jamcrc32.obj jamsys.obj                                >> $*.rsp
  42.         echo $@                                                     >> $*.rsp
  43.         echo $*.map                                                 >> $*.rsp
  44.         echo /AL:16/NOI                                             >> $*.rsp
  45.         echo $*.def                                                 >> $*.rsp
  46.         blink @$*.rsp
  47.         $(RC) -t $* $@
  48.         implib $*.lib $@
  49.         del $*.rsp
  50.