Windows-Server-2003/tools/samples/sources.exe

30 lines
797 B
Plaintext

# Sample sources fine for a single windows apps that depend on several libs.
# The mywin.exe is compiled from source files listed.
# UMENTRY used to overide the standard entry point to winmain.
# It uses the standard MSVCRT libraries.
# Note that the $(SDK_LIB_PATH) macro is used to reference where the standard
# SKD libs are found. It is defined in the build environment in the
# i386mk.inc file of the tools directory (or ia64mk.inc file).
#
TARGETNAME=mywin
TARGETPATH=obj
TARGETTYPE=PROGRAM
SOURCES=mywin.cpp \
mywin.rc \
help.c \
ui.cpp
UMTYPE=windows
USE_MSVCRT=1
INCLUDES=.
UMENTRY=winmain
TARGETLIBS= \
$(SDK_LIB_PATH)\comctl32.lib \
$(SDK_LIB_PATH)\dbghelp.lib \
$(SDK_LIB_PATH)\comdlg32.lib \
$(SDK_LIB_PATH)\shell32.lib