home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast.iso / pcmag / vol11n19.zip / NTWIN32.MAK < prev    next >
Text File  |  1992-07-09  |  1KB  |  61 lines

  1. # Win32 NMAKE definitions
  2.  
  3.  
  4. !IF "$(CPU)" == "i386"
  5.  
  6. # Debug switches are default for current release
  7. #
  8. # These switches allow for source level debugging
  9. # with NTSD for local and global variables.
  10.  
  11.  
  12. CPUTYPE=1
  13. cdebug = -Zi -Od
  14.  
  15. cc = cl386
  16. cflags    = -c -G3d -W2 -Di386=1 $(cdebug)
  17. cvtobj = REM MIPS-only conversion:
  18. cvtdebug =
  19.  
  20. !ENDIF
  21.  
  22. !IF "$(CPU)" == "MIPS"
  23. #declarations for use on self hosted MIPS box.
  24.  
  25. CPUTYPE=2
  26. cc = cc
  27. cflags    = -c -std -G0 -O -o $(*B).obj -EL -DMIPS=1
  28. cvtobj = mip2coff
  29. cvtdebug =
  30. !ENDIF
  31.  
  32. !IFNDEF CPUTYPE
  33. !ERROR  Must specify CPU Environment Variable (i386 or MIPS )
  34. !ENDIF
  35.  
  36.  
  37. #Universal declaration
  38.  
  39. cvars = -DWIN32
  40. linkdebug = -debug:full -debugtype:cv
  41. link = link $(linkdebug)
  42.  
  43. # link flags - must be specified after $(link)
  44. #
  45. # conflags : creating a character based console application
  46. # guiflags : creating a GUI based "Windows" application
  47.  
  48. conflags =  -subsystem:console -entry:mainCRTStartup
  49. guiflags =  -subsystem:windows -entry:WinMainCRTStartup
  50.  
  51. # Link libraries - system import and C runtime libraries
  52. #
  53. # conlibs : libraries to link with for a console application
  54. # guilibs : libraries to link with for a "Windows" application
  55. #
  56. # note : $(LIB) is set in environment variables
  57.  
  58. conlibs = $(LIB)\libcmt.lib $(LIB)\*.lib
  59.  
  60. guilibs = $(LIB)\libcmt.lib $(LIB)\*.lib
  61.