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.

37 lines
535 B

  1. C6_LOC=$(_NTDRIVE)\dosdev\c6
  2. !IFNDEF DEBUG
  3. DEBUG=0
  4. !ENDIF
  5. !IFNDEF LANGUAGE
  6. LANGUAGE=usa
  7. !ENDIF
  8. !IF $(DEBUG)
  9. C_DBG_FLAGS= -Zi -Od -DDBG=1
  10. ASM_DBG_FLAGS= -Zi
  11. LINK_DBG_FLAGS= /codeview
  12. !ELSE
  13. C_DBG_FLAGS=-DDBG=0
  14. ASM_DBG_FLAGS=
  15. LINK_DBG_FLAGS=
  16. !ENDIF
  17. CC= cl16
  18. CFLAGS= -W3 -Zel -G2 -AL $(C_DBG_FLAGS)
  19. CINC= -X -I..\inc -I. -I$(C6_LOC)\include
  20. AS= masm
  21. AFLAGS= -Ml $(ASM_DBG_FLAGS)
  22. AINC= -X -I.
  23. .c.obj:
  24. $(CC) $(CFLAGS) $(CINC) -c $*.c
  25. .c.cod:
  26. $(CC) $(CFLAGS) $(CINC) -Fc -c $*.c
  27. .asm.obj:
  28. $(AS) $(AFLAGS) $(AINC) $*.asm;