Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.0 KiB

  1. #---------------------------------------------------------------------
  2. #
  3. # OLEMS_SRC
  4. # MSVC
  5. #
  6. #---------------------------------------------------------------------
  7. target = test.exe
  8. !ifdef DEBUG
  9. objdir=debug
  10. !else
  11. objdir=retail
  12. !endif
  13. objlist = \
  14. $(objdir)\test.obj \
  15. all: $(objdir)\$(target)
  16. #---------------------------------------------------------------------
  17. cc = \
  18. "$(MSVC)\BIN32\cl" -c -Od -G3 -D_MT -D_CONSOLE -DWIN32 -Zi -GX \
  19. -W3 -Di386=1 -D_X86_=1 -I. -I$(MSVC)\NT5INC -I$(MSVC)\INC32.COM \
  20. link = \
  21. "$(MSVC)\BIN32\link" -nodefaultlib -subsystem:console -pdb:none \
  22. -entry:mainCRTStartup -map:$(objdir)\mb.map -debug -debugtype:cv \
  23. -out:$(objdir)\$(target) \
  24. $(objlist) \
  25. user32.lib \
  26. libcmt.lib \
  27. kernel32.lib \
  28. gdi32.lib \
  29. advapi32.lib \
  30. uuid.lib \
  31. ole32.lib \
  32. imagehlp.lib\
  33. wsock32.lib \
  34. mpr.lib \
  35. ntwdblib.lib \
  36. $(objdir)\$(target): $(objlist)
  37. $(link)
  38. {.}.cpp{$(objdir)}.obj:
  39. if not exist $(objdir) md $(objdir)
  40. $(cc) $< -Fo$(objdir)\$(<B).obj