TVROOT = $(MAKEDIR:\tvprof=) TV_INC_DIR = $(TVROOT)\inc TARGETNAME = tvprof TARGETPATH = obj$(BUILD_ALT_DIR) TARGETTYPE = DYNLINK DLLDEF = tvprof.def DLLENTRY = _DllMainCRTStartup #For now just keep the import lib in TARGETPATH #TARGETPATHLIB=$(IMAGE_DIR)\lib\$(PLATFORM_SUFFIX) INCLUDES = $(TV_INC_DIR); \ $(SDK_INC_PATH)\atl30; \ $(INCLUDES) #USE_STATIC_ATL = 1 #This blows up the exe by 13K PRECOMPILED_CXX = 1 PRECOMPILED_INCLUDE = stdafx.h PRECOMPILED_SOURCEFILE = stdafx.cpp SOURCES= \ tvprof.rc \ tvprof.cpp \ tvprofile.cpp TARGETLIBS= \ $(TARGETLIBS) \ $(SDK_LIB_PATH)\kernel32.lib \ $(SDK_LIB_PATH)\user32.lib \ $(SDK_LIB_PATH)\advapi32.lib \ $(SDK_LIB_PATH)\ole32.lib \ $(SDK_LIB_PATH)\oleaut32.lib \ $(SDK_LIB_PATH)\uuid.lib \ $(SDK_LIB_PATH)\atl.lib \ $(SDK_LIB_PATH)\winmm.lib \ $(SDK_LIB_PATH)\version.lib