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.3 KiB

  1. #---------------------------------------------------------------------
  2. #
  3. # > NMAKE -f sql_test.mak
  4. # Uses DEFDRIVE and DEFDIR macros
  5. #
  6. #---------------------------------------------------------------------
  7. target = sql_test.exe
  8. !ifdef DEBUG
  9. objdir=debug
  10. !else
  11. objdir=retail
  12. !endif
  13. objlist = \
  14. $(objdir)\genlex.obj \
  15. $(objdir)\sqllex.obj \
  16. $(objdir)\sql_test.obj \
  17. $(objdir)\sql_1.obj \
  18. #---------------------------------------------------------------------
  19. cc = \
  20. cl -c -Od -G3 -D_MT -D_CONSOLE -DWIN32 -Zi -GX \
  21. -W3 -Di386=1 -D_X86_=1 -I. \
  22. -I$(DEFDRIVE)$(DEFDIR)\tools\inc32.com \
  23. -I$(DEFDRIVE)$(DEFDIR)\tools\nt5inc
  24. !ifdef DBGALLOC
  25. cc = $(cc) /DDBGALLOC
  26. !endif
  27. link = \
  28. link -nodefaultlib -subsystem:console -pdb:none \
  29. -entry:mainCRTStartup -map:$(objdir)\sql_test.map -debug -debugtype:both \
  30. -out:$(objdir)\$(target) -libpath:$(DEFDRIVE)$(DEFDIR)\tools\lib32 \
  31. -libpath:$(DEFDRIVE)$(DEFDIR)\tools\nt5lib \
  32. $(objlist) \
  33. shell32.lib \
  34. user32.lib \
  35. libcmt.lib \
  36. kernel32.lib \
  37. gdi32.lib \
  38. advapi32.lib \
  39. oleaut32.lib \
  40. ole32.lib \
  41. $(objdir)\$(target): $(objlist)
  42. $(link)
  43. {.}.cpp{$(objdir)}.obj:
  44. if not exist $(objdir) md $(objdir)
  45. $(cc) $< -Fo$(objdir)\$(<B).obj