home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cset21v1.zip
/
IBMCPP
/
TUTORIAL
/
ICLCC
/
TUTOR4
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1993-05-07
|
3KB
|
72 lines
#******************************************************************************/
#* */
#* COPYRIGHT: */
#* ---------- */
#* Copyright (C) International Business Machines Corp., 1991,1992. */
#* */
#* DISCLAIMER OF WARRANTIES: */
#* ------------------------- */
#* The following [enclosed] code is sample code created by IBM */
#* Corporation. This sample code is not part of any standard IBM product */
#* and is provided to you solely for the purpose of assisting you in the */
#* development of your applications. The code is provided "AS IS", */
#* without warranty of any kind. IBM shall not be liable for any damages */
#* arising out of your use of the sample code, even if they have been */
#* advised of the possibility of such damages. */
#* */
#******************************************************************************/
#--------------------------------------------------------------------------------
#
# Make the Tutorials for the Collection Classes
# """"""""""""""""""""""""""""""""""""""""""""""""""""""
# Written for use with:
# OS: OS/2 2.0
# Make: nmake
# C++: ICC
#
#
# We assume that the environment variable ICLCC points to the top directory of
# the library installation (like ICLCC=E:\IBMCLASS) with the following
# subtree: ...\
# \ibmclass
# \lib
#
#-------------------------------------------------------------------------------
#
ICLCC_INC=$(ICLCC)\ibmclass
ICLCC_LIB=$(ICLCC)\lib
#-------------------------------------------------------------------------------
# Options to get Debug Info:
CCDEBUG= -Ti -DIALL_CHECKS
LKDEBUG= -B"/De "
#
# Options for NO Debug Info:
#CCDEBUG=
#LKDEBUG=
#-------------------------------------------------------------------------------
CCFLAGS= -I . -I .. -I ..\.. -I $(ICLCC_INC) -Fd -Ft -Tdp $(CCDEBUG)
LKFLAGS= $(LKDEBUG)
#-------------------------------------------------------------------------------
.SUFFIXES: .C .exe .out
example4.exe :
.C.exe :
@echo Using the library code from '$(ICLCC)' ....
-Del tempinc\*.cpp tempinc\*.obj 2>nul
icc $(CCFLAGS) $(LKFLAGS) $*.C $(ICLCC_LIB)\dde4cc.lib
.exe.out :
$* > $*.out 2>&1
clean :
-Del tempinc\*.cpp tempinc\*.obj 2>nul
-Del *.obj 2>nul
-Del *.out 2>nul
-Del example?.exe 2>nul
#