MAKEFILE
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- # THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
- # ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
- # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
- # PARTICULAR PURPOSE.
- #
- # Copyright (C) 1993 - 1995 Microsoft Corporation. All Rights Reserved.
- #
- #
- # Processor independent makefile
- # Nmake macros for building Windows 32-Bit apps
- !include <win32.mak>
- PROJ = GENERIC
- all: $(PROJ).exe $(PROJ).hlp
- # Define project specific macros
- PROJ_OBJS = generic.obj
- BASE_OBJS =
- EXTRA_LIBS = version.lib
- GLOBAL_DEP = generic.h resource.h
- RC_DEP = resource.h
- # Inference rule for updating the object files
- .c.obj:
- $(cc) $(cdebug) $(cflags) $(cvars) $*.c
- # Build rule for resource file
- $(PROJ).res: $(PROJ).rc $(RC_DEP)
- $(rc) $(rcflags) $(rcvars) /fo $(PROJ).res $(PROJ).rc
- # Build rule for EXE
- $(PROJ).EXE: $(BASE_OBJS) $(PROJ_OBJS) $(PROJ).res
- $(link) $(linkdebug) $(guilflags)
- $(BASE_OBJS) $(PROJ_OBJS) $(PROJ).res $(guilibs) $(EXTRA_LIBS)
- -out:$(PROJ).exe $(MAPFILE)
- # Build rule for help file
- $(PROJ).hlp: $(PROJ).rtf $(PROJ).hpj
- $(hc) generic.hpj
- # Rules for cleaning out those old files
- clean:
- del *.bak *.pdb *.obj *.res *.exp *.map *.sbr *.bsc