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.

55 lines
826 B

  1. !if "$(DEBUG)" == "NO"
  2. COPT =
  3. MOPT =
  4. LOPT =
  5. DEF =
  6. !else
  7. COPT = -Zi -Fc
  8. MOPT = -Zi -L
  9. LOPT = /CO
  10. DEF = -DDEBUG
  11. !endif
  12. CC = cl -c -nologo -AS -G2s -Zp -W3 -Oxwti $(DEF) $(COPT)
  13. RC = rc $(DEF)
  14. ASM = masm -Mx -t $(MOPT) $(DEF)
  15. LINK = link $(LOPT)/NOD/NOE/MAP/NOPACKC/AL:16
  16. NAME= ddt
  17. EXENAME=ddt.exe
  18. OBJ = ddt.obj profdisp.obj
  19. LIBS = libw slibcew
  20. .c.obj:
  21. $(CC) $*.c
  22. .asm.obj:
  23. $(ASM) $*;
  24. .rc.res:
  25. $(RC) -r $*.rc
  26. goal: $(EXENAME)
  27. $(EXENAME): $(OBJ) $(NAME).res $(NAME).def makefile
  28. $(LINK) @<<
  29. $(OBJ),
  30. $(EXENAME),
  31. $(NAME),
  32. $(LIBS),
  33. $(NAME).def
  34. <<
  35. -cvpack -p $(EXENAME)
  36. -mapsym $(NAME).map
  37. $(RC) $(NAME).res $(EXENAME)
  38. profdisp.obj: ..\profdisp.c
  39. clean:
  40. del $(EXENAME)
  41. del *.res
  42. del *.obj
  43. del *.map
  44. del *.sym
  45. del *.cod