MAKEFILE
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:2k
源码类别:
Windows编程
开发平台:
Visual C++
- #
- # Makefile
- # Standard Button Images and Cursors DLL Version 1.1, March 1993
- #
- #
- !include <olesampl.mak>
- all: bttncur.dll
- OLE_FLAGS = -DWIN32S
- !ifndef NO_DEBUG
- OLE_FLAGS = $(OLE_FLAGS) /D_DEBUG /DDEBUG /D_DEBUGTRACE=0
- !endif
- .SUFFIXES: .h .c .obj .exe .res .rc
- #
- #
- INCLS = ..includebttncur.h bttncuri.h
- OBJS = bttncur.obj cursors.obj
- RCFILES1 = bttncur.rcv resharrows.cur reshelp.cur reslarrows.cur
- RCFILES2 = resmagnify.cur resneswarrs.cur resnodrop.cur resnwsearrs.cur
- RCFILES3 = resrarrow.cur ressarrows.cur ressizebarh.cur ressizebarv.cur
- RCFILES4 = ressplith.cur ressplitv.cur restabletop.cur resvarrows.cur
- RCFILES5 = resstdim72.bmp resstdim96.bmp resstdim120.bmp
- RCFILES = $(RCFILES1) $(RCFILES2) $(RCFILES3) $(RCFILES4) $(RCFILES5)
- #
- # Tool Directives
- #
- .c.obj:
- $(cc) $(cflags) $(cvars) $(cdebug) $(OLE_FLAGS) $*.c
- .rc.res:
- rc -r -DWIN32 -DDEBUG $*.rc
- clean:
- -del *.obj
- -del *.dll
- -del *.res
- -del *.lib
- -del *.exp
- -del *.map
- bttncur.dll: $(OBJS) bttncur.lib bttncur.def bttncur.res
- $(link) $(linkdebug) $(dlllflags) bttncur.exp $(OBJS) $*.res -out:$@ -map:$*.map $(guilibsdll) -base:0x76000000
- if not exist ..bin mkdir ..bin
- copy bttncur.dll ..bin
- bttncur.lib: $(OBJS) bttncur.def
- $(implib) $(OBJS) -out:bttncur.lib -def:bttncur.def -machine:$(CPU)
- if not exist ..lib mkdir ..lib
- copy bttncur.lib ..lib
- ##### Dependencies #####
- bttncur.obj : bttncur.c $(INCLS)
- cursors.obj : cursors.c $(INCLS)
- bttncur.res : bttncur.rc $(INCLS) $(RCFILES)