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