Leaked source code of windows server 2003
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.

58 lines
1.4 KiB

  1. #---------------------------------------------------------------------
  2. #
  3. # Make file for the Binary Managed Object File (BMOF) sample program.
  4. #
  5. #---------------------------------------------------------------------
  6. target = test.exe
  7. objdir=debug
  8. objlist = \
  9. $(objdir)\test.obj $(objdir)\bmof.obj $(objdir)\mrcicode.obj\
  10. all: $(objdir)\$(target)
  11. #---------------------------------------------------------------------
  12. cc = \
  13. cl -c -Os -D_MT -D_CONSOLE -DWIN32 -GX \
  14. -W3 -I$(OLESM)\odl -I. -I$(OLESM)\MINIMFC \
  15. -I$(MSVC20)\INCLUDE -I$(OLESM)\INCLUDE
  16. link = \
  17. link -nodefaultlib -subsystem:console -pdb:none \
  18. -entry:mainCRTStartup -map:$(objdir)\test.map -out:$(objdir)\$(target) \
  19. $(objlist) \
  20. user32.lib \
  21. version.lib \
  22. libcmtd.lib \
  23. kernel32.lib \
  24. gdi32.lib \
  25. advapi32.lib \
  26. ole32.lib \
  27. oleAUT32.lib \
  28. uuid.lib \
  29. mpr.lib
  30. cc = $(cc) -Z7 -D_DEBUG
  31. link = $(link) -debug:full -debugtype:both
  32. $(objdir)\$(target): $(objlist)
  33. $(link)
  34. $(objdir)\test.obj: test.c bmof.h
  35. if not exist $(objdir) md $(objdir)
  36. $(cc) test.c -Fo$(objdir)\test.obj
  37. $(objdir)\bmof.obj: bmof.c bmof.h
  38. if not exist $(objdir) md $(objdir)
  39. $(cc) bmof.c -Fo$(objdir)\bmof.obj
  40. $(objdir)\mrcicode.obj: mrcicode.c mrcicode.h
  41. if not exist $(objdir) md $(objdir)
  42. $(cc) mrcicode.c -Fo$(objdir)\mrcicode.obj