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 MANDEL.DLL: the Mandelbrot Set fractal engine
- #
- OLEFLAGS = -I ....idl -I ......winhlprs
- LINK = $(link)
- LINKFLAGS = $(linkdebug) $(dlllflags)
- RCFLAGS = -DWIN32
- OBJS = mandel.obj mandelob.obj
- LIBS = $(olelibsdll) ....idlfguids.lib ......winhlprswinhlprs.lib
- all: ....binmandel.dll
- clean:
- -del *.obj
- -del *.map
- -del *.exp
- -del mandel.res
- -del mandel.dll
- -del mandel.lib
- -del ....binmandel.dll
- mandel.obj: mandel.cxx
- ....idlfrcngn.h
- ....idlfrhost.h
- ....idlmandcid.h
- ....idlqudcln.h
- ....idlqudngn.h
- ......winhlprscdialog.h
- mandel.h
- $(cc) $(cvars) $(cflags) $(UFLAGS) $(cdebug) $(OLEFLAGS) mandel.cxx
- mandelob.obj: mandelob.cxx
- ....idlfrcngn.h
- ....idlfrhost.h
- ....idlmandcid.h
- ....idlquadcid.h
- ....idlqudcln.h
- ....idlqudngn.h
- ......winhlprscdialog.h
- ....idlpalsize.h
- ......winhlprsstrmhelp.h
- mandel.h
- $(cc) $(cvars) $(cflags) $(UFLAGS) $(cdebug) $(OLEFLAGS) mandelob.cxx
- mandel.res: mandel.rc mandel.h
- rc $(RCFLAGS) -r -c1252 -fo$@ mandel.rc
- mandel.dll: $(OBJS) mandel.res
- $(LINK) @<<
- $(LINKFLAGS)
- -export:DllGetClassObject,private
- -export:DllCanUnloadNow,private
- -out:$@
- -map:$*.map
- $(OBJS)
- mandel.res
- $(LIBS)
- <<
- ....binmandel.dll: mandel.dll
- copy mandel.dll ....bin