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.

48 lines
1.7 KiB

  1. ###############################################################
  2. #
  3. # Makefile for Sample USB Driver for WDM
  4. #
  5. # Copyright (c) Microsoft Corporation, 1996
  6. # Copyright (c) Intel Corporation, 1996
  7. #
  8. # Author: Kosar Jaff
  9. # Revision: 1.0 8/15/96
  10. #
  11. # Environment: Windows (TM) NT Device Driver Kit
  12. #
  13. # THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  14. # KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  15. # IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  16. # PURPOSE.
  17. #
  18. #
  19. ###############################################################
  20. TARGETNAME=sample
  21. TARGETTYPE=DRIVER
  22. # "TARGETPATH" is where your binary output file will be put (under subdirectories
  23. # indicating the CPU architecture (e.g., i386) and Checked vs. Free
  24. # NOTE: You may get an error when you try to build stating that the "Sample.Sys"
  25. # file cannot be opened. That may be due to the subdirectories under the
  26. # one specified below have not been created. To fix this, manually create
  27. # the directory under the TARGETPATH directory as follows:
  28. # $(TARGETPATH)\i386\checked (if you're running a checked build)
  29. # $(TARGETPATH)\i386\free (if you're running a free build)
  30. TARGETPATH=.\bin
  31. C_DEFINES=/Od /Oi
  32. USE_MAPSYM=1
  33. # Put the path as it exists in your system to the updated LIB files below.
  34. TARGETLIBS=$(BASEDIR)\lib\*\$(DDKBUILDENV)\usbd.lib
  35. LINKER_FLAGS = $(LINKER_FLAGS) /map
  36. # Your environment may require additional INCLUDE directories here to
  37. # find all the Header Files for your project (e.g., the Include directory
  38. # supplied by the compilation tools
  39. INCLUDES=$(BASEDIR)\inc
  40. SOURCES=sample.c