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.

60 lines
1.2 KiB

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