OUTNAME = DrvHide

ALL: $(OUTNAME).sys

CC = cl.exe

CFLAGS = /nologo -I".\src" -I"$(DDK_INC_PATH)" -I"$(CRT_INC_PATH)" -DDBGMSG -DDBGMSG_FULL -D_X86_=1 /GS- /Gy /Gz /O1 /c

include makefile.inc

LN = link.exe

LFLAGS = /LIBPATH:$(DDK_LIB_PATH)\..\i386 /LIBPATH:$(CRT_LIB_PATH)\..\i386 /OPT:REF /OPT:ICF /INCREMENTAL:NO /DEBUG /DEBUGTYPE:CV /OPT:nowin98 /STACK:0x40000,0x1000 /DRIVER /BASE:0x10000 /ALIGN:0x80 /SUBSYSTEM:native,5.01 /ENTRY:DriverEntry /out:..\$(OUTNAME).sys

$(OUTNAME).sys: $(LOBJS)        
    $(LN) $(LFLAGS) $(LOBJS) $(LLIBS)
clean:
     @del *.obj 
