home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
com
/
inole2
/
inole-b.mak
< prev
next >
Wrap
Text File
|
1997-12-19
|
3KB
|
68 lines
#
# 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