home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
TOOLKIT
/
BIDI
/
HEBREW
/
STYLE
/
IBMSAMP.INC
next >
Wrap
Text File
|
1995-04-04
|
1KB
|
54 lines
#===================================================================
#
# Sample application makefile,common definitions for the IBM C
# compiler environment
#===================================================================
.SUFFIXES:
.SUFFIXES: .rc .res .obj .lst .c .asm .hlp .itl .ipf
#===================================================================
# Default compilation macros for sample programs
#
# Compile switchs that are enabled
# /c compile don't link
# /Gm+ use the multi-threaded libraries
# /ss allow "//" for comment lines
# /Ms use the system calling convention and not optilink as the default
# /Gd- Statically link the RTs
# /Se allow cset extensions
# /Q+ Suppress Compiler LOGO
#
CC = icc /c /Gd- /Se /Re /ss /Ms /Gm+ /Q+ /Ti+
AFLAGS = /Mx -t -z
ASM = ml /c /Zm
LFLAGS = /NOE /NOD /ALIGN:16 /EXEPACK /M /BASE:0x10000
LDBG = /CO
LINK = ILINK /NOFREE $(LDBG) $(LFLAGS)
LIBS = CPPOM30 + OS2386 + pmbidi
STLIBS = CPPOS30 + OS2386 + pmbidi
MTLIBS = CPPOM30 + os2386 + pmbidi
DLLLIBS = CPPON30 + os2386 + pmbidi
VLIBS = CPPOS30 + vdh + os2386
.c.lst:
$(CC) -Fc$*.lst -Fo$*.obj $*.c
.c.obj:
$(CC) -Fo$*.obj $*.c
.asm.obj:
$(ASM) $*.asm
.ipf.hlp:
ipfc $*.ipf /W3
.itl.hlp:
cc -P $*.itl
ipfc $*.i
del $*.i
.rc.res:
rc -r -p -x $*.rc