blob: c4d0163295cb107c1e5d294d1b03096e550f66cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
TARGETNAME=libusb-1.0
TARGETTYPE=DYNLINK
DLLDEF=..\libusb-1.0.def
!IFNDEF MSC_WARNING_LEVEL
MSC_WARNING_LEVEL=/W3
!ENDIF
!IF "$(_BUILDARCH)"=="AMD64"
PTHREAD_LIB=pthreadVC2_x64.lib
!ELSE
PTHREAD_LIB=pthreadVC2.lib
!ENDIF
USE_MSVCRT=1
INCLUDES=..;..\..;..\..\msvc;$(DDK_INC_PATH)
C_DEFINES = $(C_DEFINES) /DDDKBUILD
TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib \
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\user32.lib \
$(SDK_LIB_PATH)\setupapi.lib \
$(SDK_LIB_PATH)\ole32.lib \
..\..\msvc\$(PTHREAD_LIB)
SOURCES=..\core.c \
..\descriptor.c \
..\io.c \
..\sync.c \
windows_compat.c \
windows_usb.c \
libusb-1.0.rc
|