INOLE-B.MAK
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:2k
源码类别:
Windows编程
开发平台:
Visual C++
- #
- # INOLE-B.MAK
- # Common Linker Commands
- #
- # Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
- #
- # Kraig Brockschmidt, Microsoft
- # Internet : kraigb@microsoft.com
- # Compuserve: >INTERNET:kraigb@microsoft.com
- #
- #
- # This file should be included after the sample's makefile
- # has defined INCLS, OBJS, OUTFILE, etc., and included inole-a.mak.
- # The separation between inole-a.mak and this file is to allow
- # a sample to change default definitions in inole-a.mak before
- # including this file to build the sample.
- #
- $(OUTFILE) : $(OBJS) $(TARGET).res $(DEFFILE)
- echo ++++++++++
- echo Linking $@
- #Note: some of this is Intel only...
- !ifndef WIN16
- echo $(LINK) > $(TARGET).lrf
- echo $(ENTRY) >> $(TARGET).lrf
- echo -def:win32.def >> $(TARGET).lrf
- echo -out:$(OUTFILE) >> $(TARGET).lrf
- echo -machine:IX86 >> $(TARGET).lrf
- echo -subsystem:windows >> $(TARGET).lrf
- echo -align:0x1000 >> $(TARGET).lrf
- echo $(OBJS1) >> $(TARGET).lrf
- echo $(OBJS2) >> $(TARGET).lrf
- echo $(OBJS3) >> $(TARGET).lrf
- echo $(OBJS4) >> $(TARGET).lrf
- echo $(OBJS5) >> $(TARGET).lrf
- echo $(OBJS6) >> $(TARGET).lrf
- echo $(TARGET).res >> $(TARGET).lrf
- echo $(LIBS) >> $(TARGET).lrf
- echo $(LIBS32) >> $(TARGET).lrf
- link @$(TARGET).lrf
- del $(TARGET).lrf
- !else
- echo + > $(TARGET).lrf
- echo $(OBJS1) + >> $(TARGET).lrf
- echo $(OBJS2) + >> $(TARGET).lrf
- echo $(OBJS3) + >> $(TARGET).lrf
- echo $(OBJS4) + >> $(TARGET).lrf
- echo $(OBJS5) + >> $(TARGET).lrf
- echo $(OBJS6) >> $(TARGET).lrf
- echo $(OUTFILE) $(LINK) >> $(TARGET).lrf
- echo nul/li >> $(TARGET).lrf
- echo $(LIBS32A) + >> $(TARGET).lrf
- echo $(LIBS32B) + >> $(TARGET).lrf
- echo $(LIBS) >> $(TARGET).lrf
- echo win16.def >> $(TARGET).lrf
- link @$(TARGET).lrf
- del $(TARGET).lrf
- rc -v -K $(TARGET).res $(OUTFILE)
- !endif