home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v6.zip / MMPM2TK / TK / AVCINST / MAKEFILE < prev   
Text File  |  1992-07-21  |  1KB  |  46 lines

  1. # SCCSID = @(#)makefile    13.5 92/04/22
  2. # SCCSID = @(#)makefile    13.5 92/04/22
  3. #**************************************************************************
  4. #
  5. # Makefile for the AVCINST program.
  6. #
  7. #**************************************************************************
  8.  
  9. CC        = icc
  10. LINK        = link386
  11.  
  12. BASELIBS    = DDE4MBS.LIB OS2386.LIB MMPM2.LIB
  13.  
  14. CTARG       = /G3s
  15. COMPILE    = /C+ /W3 /Ki- /Kb- /Ss+ /Gd- /DINCL_32 /Ms
  16. DEBUG       = /Ti+ /O-
  17.  
  18. CFLAGS    = $(COMPILE) $(CTARG)
  19.  
  20. #
  21. # Link Switches
  22. #
  23. #    /map     : Creates a listing file containing all pulbic symbols.
  24. #    /nod     : Causes all default libraries to be ignored.
  25. #    /noe     : The linker will not search the extended dictionary.
  26. #
  27.  
  28. LFLAGS    = /map /nod /noe
  29.  
  30. all: avcinst.exe avcinst.hlp
  31.  
  32. avcinst.exe : avcinst.obj avcinst.res avcinst.def
  33.   $(LINK) avcinst.obj, avcinst.exe, $(LFLAGS) /ST:36000, $(BASELIBS), \
  34.           avcinst.def
  35.   $(RC) avcinst.res
  36.  
  37. avcinst.obj : avcinst.c avcinst.h
  38.   $(CC) $(CFLAGS) avcinst.c
  39.  
  40. avcinst.res : avcinst.rc avcinst.dlg avcinst.h avcinst.ico
  41.   rc -r avcinst.rc
  42.  
  43. avcinst.hlp: $*.ipf
  44.   ipfc $*.ipf
  45.  
  46.