libusb/msvc/getopt_sources
Chris Dickens 0aac390bb2 Windows: Restructure DDK/MSVC project files
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>
2018-03-12 10:39:26 -07:00

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