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.

70 lines
1.4 KiB

  1. #---------------------------------------------------------------------
  2. #
  3. # OLEMS_SRC
  4. # MSVC
  5. #
  6. #---------------------------------------------------------------------
  7. target = wqltest.exe
  8. !ifdef DEBUG
  9. objdir=debug
  10. !else
  11. objdir=retail
  12. !endif
  13. objlist = \
  14. $(objdir)\wqltest.obj \
  15. $(objdir)\genlex.obj \
  16. $(objdir)\wqllex.obj \
  17. $(objdir)\flexarry.obj \
  18. $(objdir)\wqlscan.obj \
  19. all: $(objdir)\$(target)
  20. #---------------------------------------------------------------------
  21. cc = \
  22. "$(MSVC)\BIN\cl" -c -Od -G3 -D_MT -D_CONSOLE -DWIN32 -Z7 -GX \
  23. -W3 -Di386=1 -D_X86_=1 -I. \
  24. -Ie:\pandorang\hmom\common \
  25. -I"$(MSVC)\INCLUDE" \
  26. -Ie:\pandorang\hmom\coredll \
  27. -Ie:\pandorang\idl \
  28. -Ie:\pandorang\stdlibrary \
  29. -Ie:\pandorang\hmom\wql \
  30. -Ie:\pandorang\hmom\ql \
  31. link = \
  32. "$(MSVC)\BIN\link" -nodefaultlib -subsystem:console -pdb:none \
  33. -entry:mainCRTStartup -map:$(objdir)\mb.map -debug -debugtype:cv \
  34. -out:$(objdir)\$(target) \
  35. $(objlist) \
  36. shell32.lib \
  37. user32.lib \
  38. libcmt.lib \
  39. kernel32.lib \
  40. gdi32.lib \
  41. advapi32.lib \
  42. oldnames.lib \
  43. uuid.lib \
  44. ole32.lib \
  45. oleaut32.lib \
  46. wsock32.lib \
  47. mpr.lib
  48. $(objdir)\$(target): $(objlist)
  49. $(link)
  50. {.}.cpp{$(objdir)}.obj:
  51. if not exist $(objdir) md $(objdir)
  52. $(cc) $< -Fo$(objdir)\$(<B).obj
  53. {..\..\stdlibrary}.cpp{$(objdir)}.obj:
  54. if not exist $(objdir) md $(objdir)
  55. $(cc) $< -Fo$(objdir)\$(<B).obj