home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / compiler / seh / makefile next >
Encoding:
Makefile  |  1996-02-20  |  1.4 KB  |  44 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. # Structured Exception Handling Sample makefile
  15.  
  16. .SUFFIXES: .C .obj .
  17.  
  18. .all: \
  19.     seh.exe
  20.  
  21. .C.obj:
  22.     @echo " Compile::C++ Compiler "
  23.     icc.exe  /Q /Ti /Gh /Gm /Gd /Wpro- /Fo"%|dpfF.obj" /C %s
  24.  
  25. seh.exe: seh.obj {$(LIB)}cppwpa3.obj
  26.     @echo " Link::Linker "
  27.     icc.exe @<<
  28.      /Q /B" /de /noe"
  29.      /Feseh.exe
  30.      $**
  31. <<
  32.  
  33. seh.obj: \
  34.     seh.C
  35.  
  36. clean:
  37.    - @del *.obj
  38.    - @del *.exp
  39.    - @del *.lib
  40.    - @del *.dll
  41.    - @del *.exe
  42.    - @del *.pdb
  43.    - @del *.map
  44.