mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
1.4 KiB
86 lines
1.4 KiB
#
|
|
# Create a Win32 application
|
|
#
|
|
MAJORCOMP=media
|
|
MINORCOMP=cdplayer
|
|
|
|
MSC_WARNING_LEVEL=-W3 -WX
|
|
NTKEEPRESOURCETMPFILES=yes
|
|
|
|
#
|
|
# Define the name and type of the application
|
|
#
|
|
TARGETNAME=cdplayer
|
|
TARGETTYPE=PROGRAM
|
|
UMTYPE=windows
|
|
UMENTRY=winmain
|
|
UMLIBS=
|
|
EXPECTED_WINVER=4.0
|
|
|
|
#
|
|
# Define where APP.EXE will go.
|
|
#
|
|
TARGETPATH=.\obj
|
|
|
|
|
|
#
|
|
# C Run and compile time information
|
|
#
|
|
!ifdef CHICAGO_PRODUCT
|
|
|
|
|
|
#
|
|
# Retail only
|
|
#
|
|
C_DEFINES=-DSTRICT
|
|
|
|
|
|
# Debug only (normally commented out but leave in file)
|
|
#C_DEFINES=-DSTRICT -DDEBUG
|
|
#MSC_OPTIMIZATION=/Od /Zi
|
|
#NTDEBUG=ntsd
|
|
#NTDEBUGTYPE=both
|
|
|
|
|
|
!else
|
|
|
|
|
|
#
|
|
# Retail only
|
|
#
|
|
C_DEFINES=-DUNICODE -D_UNICODE -DWINVER=0x0400 -DDAYTONA -D_WIN32_WINNT=0x0400
|
|
|
|
|
|
#
|
|
# Debug only (normally commented out bug leave in file)
|
|
#
|
|
#C_DEFINES=-DUNICODE -D_UNICODE -DWINVER=0x0400 -DDAYTONA -D_WIN32_WINNT=0x0400 -DDEBUG
|
|
#MSC_OPTIMIZATION=/Od /Zi
|
|
#NTDEBUG=ntsd
|
|
#NTDEBUGTYPE=both
|
|
|
|
|
|
!endif
|
|
|
|
USE_MSVCRT=1
|
|
LINKER_FLAGS=-section:.sdata,rws
|
|
|
|
|
|
#
|
|
# list each C and RC source file
|
|
#
|
|
SOURCES=cdplayer.c cdapi.c ledwnd.c scan.c database.c \
|
|
trklst.c commands.c diskinfo.c dragdrop.c buttons.c cdapimci.c \
|
|
preferen.c literals.c cdplayer.rc
|
|
|
|
|
|
#
|
|
# List any libraries not included by WIN32LIBS in MAKEFILE.DEF
|
|
#
|
|
TARGETLIBS=$(SDK_LIB_PATH)\shell32.lib \
|
|
$(SDK_LIB_PATH)\comctl32.lib\
|
|
$(SDK_LIB_PATH)\winmm.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(SDK_LIB_PATH)\htmlhelp.lib
|
|
|