home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / lxprpas.zip / LXMIN2.MAK < prev    next >
Text File  |  1998-04-20  |  2KB  |  41 lines

  1. #*                                                                       *
  2. #*-----------------------------------------------------------------------*
  3. #* DISCLAIMER OF WARRANTIES:                                             *
  4. #*                                                                       *
  5. #*   The following enclosed code is sample code created by IBM           *
  6. #*   Corporation.  This sample code is not part of any standard IBM      *
  7. #*   product and is provided to you solely for the purpose of assisting  *
  8. #*   you in the development of your applications.  The code is provided  *
  9. #*   "AS IS", without warranty of any kind.  IBM shall not be liable     *
  10. #*   for any damages arising out of your use of the sample code, even    *
  11. #*   if they have been advised of the possibility of such damages.       *
  12. #*                                                                       *
  13. #*-----------------------------------------------------------------------*
  14. #*                                                                       *
  15. # MAKE file for L2MIN2.DLL.
  16. #
  17. # Note:  Add /Tdp option to the icc command (and remove /Ss)
  18. #        in order to compile as C++.
  19.  
  20. !ifndef WIN
  21. CMPOPTS = /C /Fd /Gd /Gm /Gn /Q /Ge- /Tdp /Ti+ /Gh
  22. LINKOPTS  = /noi /nol /nod /noe /de
  23. DLLLIBS = cppom30i.lib os2386.lib
  24. EXTEXP = lpexext.def
  25. GENEXP =
  26. !else
  27. CMPOPTS = /C /Gd+ /Gm /Q+ /Winl /DWIN32_LEAN_AND_MEAN /DIC_PAGETUNE /Ge- /Tdp /Ti+
  28. LINKOPTS  = /nol /noe /de /dll
  29. DLLLIBS = kernel32.lib user32.lib gdi32.lib
  30. GENEXP = ilib /def:lpexext.def /gi:$*.exp
  31. EXTEXP = l2min2.exp
  32. !endif
  33.  
  34. l2min2.dll: lxmin2.obj lpexext.def
  35.   $(GENEXP)
  36.   ilink $(LINKOPTS) lxmin2.obj /out:l2min2.dll lpexapi.lib \
  37.        $(DLLLIBS) $(EXTEXP)
  38.  
  39. lxmin2.obj: lxmin2.c
  40.   icc $(CMPOPTS) lxmin2.c
  41.