home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / compiler / sample07 / method2 / 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: .C .obj .exp
  17.  
  18. all: stack.dll
  19.  
  20. .cpp.obj:
  21.     @echo " Compile::C++ Compiler "
  22.     icc.exe   /Q  /Ge-  /Ft- /Ti  /Gh /Fb /Fo"%|dpfF.obj" /C %s
  23.  
  24.  
  25. .\stack.dll: \
  26.     .\stack.obj \
  27.     {$(LIB)}cppwpa3.obj \
  28.     .\stack.exp
  29.     echo " Link::Linker "
  30.     icc.exe -q -Ge- -Ft- /B-noe /Festack.dll  $**
  31.  
  32. .\stack.exp: \
  33.     .\stack.obj \
  34.     .\stack.def
  35.     ilib.exe  -NOlogo -Gi:stack .\stack.obj stack.def
  36.  
  37. .\stack.def: .\stack.obj
  38.    echo LIBRARY STACK > .\stack.def
  39.    echo EXPORTS      >> .\stack.def
  40.    cppfilt -q -b -p .\stack.obj >> .\stack.def
  41.  
  42.  
  43. .\stack.obj: \
  44.     .\stack.cpp .\stk.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.