makefile
资源名称:COM 原理与应用.rar [点击查看]
上传用户:biuytresa
上传日期:2007-12-07
资源大小:721k
文件大小:1k
源码类别:
DNA
开发平台:
Visual C++
- # makefile - Handy makefile for command-line use
- #
- # Usage:
- # nmake [options] [all|clean]
- #
- # Options:
- # WIN32=1 Build 32-bit version
- # DEBUG=0 Build retail version
- # DEBUG=1 Build debug version (default)
- # UNICODE=0 Build ANSI/DBCS version (default)
- # UNICODE=1 Build Unicode version
- # This is a part of the Microsoft Foundation Classes C++ library.
- # Copyright (C) 1992-1997 Microsoft Corporation
- # All rights reserved.
- #
- # This source code is only intended as a supplement to the
- # Microsoft Foundation Classes Reference and related
- # electronic documentation provided with the library.
- # See these sources for detailed information regarding the
- # Microsoft Foundation Classes product.
- !ifndef UNICODE
- UNICODE=0
- !endif
- !ifndef DEBUG
- DEBUG=1
- !endif
- !if "$(UNICODE)" == "1"
- !if "$(DEBUG)" == "1"
- all:
- nmake -f smile.mak CFG="Smile - Win32 Unicode Debug"
- clean:
- @-if exist DebugU*.* echo y | erase DebugU*.*
- !else
- all:
- nmake -f smile.mak CFG="Smile - Win32 Unicode Release"
- clean:
- @-if exist ReleaseU*.* echo y | erase ReleaseU*.*
- !endif
- !else
- !if "$(DEBUG)" == "1"
- all:
- nmake -f smile.mak CFG="Smile - Win32 Debug"
- clean:
- @-if exist Debug*.* echo y | erase Debug*.*
- !else
- all:
- nmake -f smile.mak CFG="Smile - Win32 Release"
- clean:
- @-if exist Release*.* echo y | erase Release*.*
- !endif
- !endif