MAKEFILE
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:2k
源码类别:
Windows编程
开发平台:
Visual C++
- #+---------------------------------------------------------------------------
- #
- # Microsoft Windows
- # Copyright (C) Microsoft Corporation, 1994-1997.
- #
- # File: makefile
- #
- #----------------------------------------------------------------------------
- !include <olesampl.mak>
- #
- # Makefile for OLE Sample MFract
- #
- # builds QUAD.DLL: the Quadrant Fractal Engine Helper
- #
- OLEFLAGS = -I ....idl -I ......winhlprs
- LINK = $(link)
- LINKFLAGS = $(linkdebug) $(dlllflags)
- RCFLAGS = -DWIN32
- OBJS = quad.obj quadobj.obj
- LIBS = $(olelibsdll) ....idlfguids.lib ......winhlprswinhlprs.lib
- all: ....binquad.dll
- clean:
- -del *.obj
- -del *.map
- -del *.exp
- -del quad.lib
- -del quad.dll
- -del ....binquad.dll
- quad.obj: quad.cxx
- ....idlfrcngn.h
- ....idlfrhost.h
- ....idlquadcid.h
- ....idlqudcln.h
- ....idlqudngn.h
- quad.h
- $(cc) $(cvars) $(cflags) $(cdebug) $(OLEFLAGS) quad.cxx
- quadobj.obj: quadobj.cxx
- ....idlfrcngn.h
- ....idlfrhost.h
- ....idlqudcln.h
- ....idlqudngn.h
- quad.h
- $(cc) $(cvars) $(cflags) $(cdebug) $(OLEFLAGS) quadobj.cxx
- quad.dll: $(OBJS)
- $(LINK) @<<
- $(LINKFLAGS)
- -export:DllGetClassObject,private
- -export:DllCanUnloadNow,private
- -out:$@
- -map:$*.map
- $(OBJS)
- $(LIBS)
- <<
- ....binquad.dll: quad.dll
- copy quad.dll ....bin