home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / compiler / sample07 / method1 / dll / makefile next >
Encoding:
Makefile  |  1996-02-20  |  1.6 KB  |  54 lines

  1. # **********************************************************************
  2. # * DISCLAIMER OF WARRANTIES:                                          *
  3. # *                                                                    *
  4. # * The following enclosed code is sample code created by IBM          *
  5. # * Corporation.  This sample code is not part of any standard IBM     *
  6. # * product and is provided to you solely for the purpose of assisting *
  7. # * you in the development of your applications.  The code is provided *
  8. # * "AS IS", without warranty of any kind.  IBM shall not be liable    *
  9. # * for any damages arising out of your use of the sample code, even   *
  10. # * if they have been advised of the possibility of such damages       *
  11. # *                                                                    *
  12. # **********************************************************************
  13. #
  14. # sample07 makefile
  15.  
  16. .SUFFIXES: .cpp .obj .exp
  17.  
  18. all: .\vf.dll
  19.  
  20. .cpp.obj:
  21.     @echo " Compile::C++ Compiler "
  22.     icc.exe   /Q  /Gh /Ti /Ge- /Gd  /Fo"%|dpfF.obj" /C %s
  23.  
  24.  
  25. .\vf.dll: \
  26.     .\vf.obj \
  27.     .\vf.exp \
  28.     {$(LIB)}cppwpa3.obj
  29.     echo " Link::Linker "
  30.     icc.exe /Q /B"/de /noe" /Gd /Fevf.dll $**
  31.  
  32. .\vf.exp .\vf.lib: \
  33.     .\vf.def
  34.     ilib.exe  -NOlogo -Gi:.\vf.lib -def:.\vf.def
  35.  
  36. .\vf.def: \
  37.     .\vf.obj
  38.     echo LIBRARY VF    > .\vf.def
  39.     echo EXPORTS      >> .\vf.def
  40.     cppfilt -q -b -p .\vf.obj  >> .\vf.def
  41.  
  42. .\vf.obj: \
  43.     .\vf.cpp \
  44.     .\vf.h
  45.  
  46. clean:
  47.    - @del *.obj
  48.    - @del *.exp
  49.    - @del *.lib
  50.    - @del *.dll
  51.    - @del *.exe
  52.    - @del *.pdb
  53.    - @del *.map
  54.