MAKEFILE
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- proj = DDESPY
- SRCS = DDESPY.C LISTS.C TESTSUBS.C
- #set nodebug=1 to omit debug information from build
- !include <win32.mak>
- !if "$(CPU)" == "i386"
- cflags = $(cflags) -D_CRTAPI1=_cdecl -D_CRTAPI2=_cdecl
- !else
- cflags = $(cflags) -D_CRTAPI1= -D_CRTAPI2=
- !endif
- all: $(proj).exe
- #create resource binaries
- $(proj).res: $(proj).rc $(proj).dlg $*.h
- $(rc) $(rcvars) -r -fo $(proj).res $(proj).rc
- # Update the object file if necessary
- .c.obj:
- $(cc) $(cflags) $(cvars) $(cdebug) $*.c
- $(proj).exe: $(SRCS:.C=.OBJ) $(proj).res
- $(link) $(linkdebug) $(guiflags) $(SRCS:.C=.OBJ) $(guilibs) $(proj).res -out:$(proj).exe
- !IF ("$(TARGETLANG)" == "LANG_JAPANESE") && ("$(OS)" == "Windows_NT")
- rlman -p 932 -n 17 1 -a $*.exe $*.tok $*.exe
- !ENDIF
- clean:
- del *.obj
- del *.exe
- del *.map
- del *.res
- del *.res