# **********************************************************************
# * 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: .cpp .obj .exp

all: .\vf.dll

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


.\vf.dll: \
    .\vf.obj \
    .\vf.exp \
    {$(LIB)}cppwpa3.obj
    echo " Link::Linker "
    icc.exe /Q /B"/de /noe" /Gd /Fevf.dll $**

.\vf.exp .\vf.lib: \
    .\vf.def
    ilib.exe  -NOlogo -Gi:.\vf.lib -def:.\vf.def

.\vf.def: \
    .\vf.obj
    echo LIBRARY VF    > .\vf.def
    echo EXPORTS      >> .\vf.def
    cppfilt -q -b -p .\vf.obj  >> .\vf.def

.\vf.obj: \
    .\vf.cpp \
    .\vf.h

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