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

C6_LOC=$(_NTDRIVE)\dosdev\c6
!IFNDEF DEBUG
DEBUG=0
!ENDIF
!IFNDEF LANGUAGE
LANGUAGE=usa
!ENDIF
!IF $(DEBUG)
C_DBG_FLAGS= -Zi -Od -DDBG=1
ASM_DBG_FLAGS= -Zi
LINK_DBG_FLAGS= /codeview
!ELSE
C_DBG_FLAGS=-DDBG=0
ASM_DBG_FLAGS=
LINK_DBG_FLAGS=
!ENDIF
CC= cl16
CFLAGS= -W3 -Zel -G2 -AL $(C_DBG_FLAGS)
CINC= -X -I..\inc -I. -I$(C6_LOC)\include
AS= masm
AFLAGS= -Ml $(ASM_DBG_FLAGS)
AINC= -X -I.
.c.obj:
$(CC) $(CFLAGS) $(CINC) -c $*.c
.c.cod:
$(CC) $(CFLAGS) $(CINC) -Fc -c $*.c
.asm.obj:
$(AS) $(AFLAGS) $(AINC) $*.asm;