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
599 B

CC=cl
YACC=yacc_ms
LEX=lex
default:
@echo all........build what is necessary
@echo new........build everything
@echo cfiles.....just make the .c files
cfiles: env hid_tab.c hid_lex.c
all: env hidparse
new: clean env hidparse
clean:
del *.obj
del hid_lex.c
del hid_tab.c
del hid_tab.h
env:
set path=$(SLMBASE)\dev\tools\binr;%path%
set lib=$(SLMBASE)\dev\lib;%lib%
hidparse : hidparse.obj
hidparse.obj: hid_tab.c hid_lex.c
$(CC) /DCONSOLE hid.c lex_yy.c /Fehidparse.exe
hid_tab.c: hid.y
$(YACC) -h hid.y
hid_lex.c: hid.l
$(LEX) hid.l