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.

49 lines
981 B

  1. #---------------------------------------------------------------------
  2. #
  3. # OLEMS_SRC
  4. # MSVC
  5. #
  6. #---------------------------------------------------------------------
  7. target = kernel33.dll
  8. !ifdef DEBUG
  9. objdir=debug
  10. !else
  11. objdir=retail
  12. !endif
  13. objlist = \
  14. $(objdir)\stktrace.obj \
  15. $(objdir)\kernel33.obj \
  16. all: $(objdir)\$(target)
  17. #---------------------------------------------------------------------
  18. cc = \
  19. "$(BIN)\cl" -c -Od -G3 -D_MT -D_CONSOLE -DWIN32 -Zi -GX \
  20. -W3 -Di386=1 -D_X86_=1 -I. -I$(INCLUDE) \
  21. link = \
  22. "$(BIN)\link" -nodefaultlib -dll -subsystem:console \
  23. -entry:DllEntry -map:$(objdir)\mb.map -debug -debugtype:cv \
  24. -out:$(objdir)\$(target) -def:kernel33.def -implib:$(objdir)\kernel33.lib \
  25. $(objlist) \
  26. kernel32.lib \
  27. mpr.lib \
  28. user32.lib \
  29. advapi32.lib \
  30. $(objdir)\$(target): $(objlist)
  31. $(link)
  32. {.}.cpp{$(objdir)}.obj:
  33. if not exist $(objdir) md $(objdir)
  34. $(cc) $< -Fo$(objdir)\$(<B).obj