MAKEFILE
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- # THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
- # ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
- # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
- # PARTICULAR PURPOSE.
- #
- # Copyright (C) 1993-1997 Microsoft Corporation. All Rights Reserved.
- TARGETOS=WINNT
- !include <ntwin32.mak>
- !if "$(CPU)" == "i386"
- cflags = $(cflags) -D_CRTAPI1=_cdecl -D_CRTAPI2=_cdecl
- !else
- cflags = $(cflags) -D_CRTAPI1= -D_CRTAPI2=
- !endif
- all: simple.exe client.exe
- .c.obj:
- $(cc) $(cdebug) $(cflags) $(cvarsmt) $*.c
- ## Simple dependencies
- simple.obj: simple.c service.h
- service.obj: service.c service.h
- simple_objs = simple.obj service.obj
- simple_libs = $(conlibsmt) advapi32.lib shell32.lib
- simple.exe: $(simple_objs)
- $(link) $(linkdebug) $(conflags) -out:simple.exe $(simple_objs) $(simple_libs)
- ## Client dependencies
- client.exe: client.obj
- $(link) $(linkdebug) $(conflags) -out:client.exe client.obj $(conlibsmt)