mirror of
https://github.com/RPCS3/libusb.git
synced 2024-11-27 12:10:22 +00:00
0aac390bb2
For simplicity and to address some build warnings, this commit reworks the project files to eliminate duplication and consolidate common build flags and options. Also adds the stress and testlibusb projects to the DDK build script. Closes #402 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
25 lines
415 B
Plaintext
25 lines
415 B
Plaintext
TARGETTYPE=LIBRARY
|
|
TARGETNAME=getopt
|
|
386_STDCALL=0
|
|
|
|
_NT_TARGET_VERSION=$(_NT_TARGET_VERSION_WINXP)
|
|
|
|
!IFNDEF MSC_WARNING_LEVEL
|
|
MSC_WARNING_LEVEL=/W3
|
|
!ENDIF
|
|
|
|
!IFDEF STATIC_LIBC
|
|
USE_LIBCMT=1
|
|
!ELSE
|
|
USE_MSVCRT=1
|
|
!ENDIF
|
|
|
|
INCLUDES=$(DDK_INC_PATH)
|
|
C_DEFINES=$(C_DEFINES) /DDDKBUILD /DHAVE_STRING_H
|
|
|
|
TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\user32.lib
|
|
|
|
SOURCES=..\getopt1.c \
|
|
..\getopt.c
|