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 rgen.DLL: the rgen Cloud Fractal engine
- #
- OLEFLAGS = -I ....idl -I ......winhlprs
- LINK = $(link)
- LINKFLAGS = $(linkdebug) $(dlllflags)
- RCFLAGS = -DWIN32
- OBJS = rgen.obj rgenob.obj polar.obj genwin.obj
- LIBS = $(olelibsdll) ....idlfguids.lib ......winhlprswinhlprs.lib
- all: ....binrgen.dll
- clean:
- -del *.obj
- -del *.map
- -del *.exp
- -del rgen.res
- -del rgen.dll
- -del rgen.lib
- -del ....binrgen.dll
- rgen.obj: rgen.cxx
- ....idlfrcngn.h
- ....idlfrhost.h
- ....idlrgencid.h
- ......winhlprscdialog.h
- ......winhlprscwindow.h
- rgen.h
- $(cc) $(cvars) $(cflags) $(UFLAGS) $(cdebug) $(OLEFLAGS) rgen.cxx
- rgenob.obj: rgenob.cxx
- ....idlfrcngn.h
- ....idlfrhost.h
- ....idlpalsize.h
- ....idlrgencid.h
- ......winhlprscdialog.h
- ......winhlprscwindow.h
- polar.h
- genwin.h
- rgen.h
- $(cc) $(cvars) $(cflags) $(UFLAGS) $(cdebug) $(OLEFLAGS) rgenob.cxx
- polar.obj: polar.cxx
- polar.h
- $(cc) $(cvars) $(cflags) $(UFLAGS) $(cdebug) $(OLEFLAGS) polar.cxx
- genwin.obj: genwin.cxx
- ......winhlprscwindow.h
- polar.h
- genwin.h
- rgen.h
- polar.h
- $(cc) $(cvars) $(cflags) $(UFLAGS) $(cdebug) $(OLEFLAGS) genwin.cxx
- rgen.res: rgen.rc rgen.dlg rgen.h choose.cur
- rc $(RCFLAGS) -r -fo$@ rgen.rc
- rgen.dll: $(OBJS) rgen.res
- $(LINK) @<<
- $(LINKFLAGS)
- -export:DllGetClassObject,private
- -export:DllCanUnloadNow,private
- -out:$@
- -map:$*.map
- $(OBJS)
- rgen.res
- $(LIBS)
- <<
- ....binrgen.dll: rgen.dll
- copy rgen.dll ....bin