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

  1. CC=cl
  2. YACC=yacc_ms
  3. LEX=lex
  4. default:
  5. @echo all........build what is necessary
  6. @echo new........build everything
  7. @echo cfiles.....just make the .c files
  8. cfiles: env hid_tab.c hid_lex.c
  9. all: env hidparse
  10. new: clean env hidparse
  11. clean:
  12. del *.obj
  13. del hid_lex.c
  14. del hid_tab.c
  15. del hid_tab.h
  16. env:
  17. set path=$(SLMBASE)\dev\tools\binr;%path%
  18. set lib=$(SLMBASE)\dev\lib;%lib%
  19. hidparse : hidparse.obj
  20. hidparse.obj: hid_tab.c hid_lex.c
  21. $(CC) /DCONSOLE hid.c lex_yy.c /Fehidparse.exe
  22. hid_tab.c: hid.y
  23. $(YACC) -h hid.y
  24. hid_lex.c: hid.l
  25. $(LEX) hid.l