# **********************************************************************
# * 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       *
# *                                                                    *
# **********************************************************************
#
# sample07 makefile

.SUFFIXES: .C .obj .exp

all: stack.dll

.cpp.obj:
    @echo " Compile::C++ Compiler "
    icc.exe   /Q  /Ge-  /Ft- /Ti  /Gh /Fb /Fo"%|dpfF.obj" /C %s


.\stack.dll: \
    .\stack.obj \
    {$(LIB)}cppwpa3.obj \
    .\stack.exp
    echo " Link::Linker "
    icc.exe -q -Ge- -Ft- /B-noe /Festack.dll  $**

.\stack.exp: \
    .\stack.obj \
    .\stack.def
    ilib.exe  -NOlogo -Gi:stack .\stack.obj stack.def

.\stack.def: .\stack.obj
   echo LIBRARY STACK > .\stack.def
   echo EXPORTS      >> .\stack.def
   cppfilt -q -b -p .\stack.obj >> .\stack.def


.\stack.obj: \
    .\stack.cpp .\stk.h

clean:
   - @del *.obj
   - @del *.exp
   - @del *.lib
   - @del *.dll
   - @del *.exe
   - @del *.pdb
   - @del *.map
