mirror of
https://github.com/RPCS3/libusb.git
synced 2026-01-31 01:25:19 +01:00
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>
21 lines
367 B
Plaintext
21 lines
367 B
Plaintext
TARGETNAME=testlibusb
|
|
TARGETTYPE=PROGRAM
|
|
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
|
|
|
|
UMTYPE=console
|
|
INCLUDES=..\..\msvc;..\..\libusb;$(DDK_INC_PATH)
|
|
UMLIBS=..\..\libusb\os\obj$(BUILD_ALT_DIR)\*\libusb-1.0.lib
|
|
SOURCES=..\testlibusb.c
|