Example
The following MAKFILE is an example of how to build an IBM® VisualAge® C++ application using the ECL:
#--------------------------------------------------------------
# Sample make file for IBM VisualAge C++
#--------------------------------------------------------------
all: sample.exe
pcomm = c:progra~1\person~1\samples
debug = /O- /Ti+
msgs = /Word+pro+ret+use+cmd
includes = -I $ (pcomm)
iccflags = /c /Gd- /Sm /Re /ss /Q /Gm+ $(msgs) $(debug) $(includes)
#--------------------------------------------------------------
# General way to generate a ".obj" from a ".cpp
#--------------------------------------------------------------
.cpp.obj:
icc $(iccflags) $*.cpp
#--------------------------------------------------------------
# Compile and link SAMPLE.CPP
#--------------------------------------------------------------
sample.exe: sample.obj
ilink sample.obj \
user32.lib kernel32.lib \
$(pcomm) \pcseclva.lib \
/DEBUG /OUT:sample.exe
sample.obj: sample.cpp