home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / compiler / sample03 / sort / makefile < prev    next >
Encoding:
Makefile  |  1996-02-20  |  1.6 KB  |  56 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. # SAMPLE03 dll (dynamically linked to RT) makefile
  15.  
  16. .SUFFIXES: .C .obj .exp
  17.  
  18. .all: \
  19.     .\sample03.dll
  20.  
  21. .C.obj:
  22.     @echo " Compile::C++ Compiler "
  23.     icc.exe /Q /Gh /Ti /Gd /Ge- /DWIN32_LEAN_AND_MEAN /Fo"%|dpfF.obj" /C %s
  24.  
  25. .\sample03.dll: \
  26.     .\INITTERM.obj \
  27.     .\SAMPLE03.obj \
  28.     .\sample03.exp \
  29.     {$(LIB)}cppwpa3.obj
  30.     @echo " Link::Linker "
  31.     icc.exe @<<
  32.      /Q /B" /dll /de /noe"
  33.      /Fe.\sample03.dll
  34.      $**
  35. <<
  36.  
  37. .\sample03.exp: .\sample03.obj .\INITTERM.obj
  38.   -7  ilib.exe /NOlogo  -Gi:$* $?
  39.  
  40.  
  41. .\INITTERM.obj: \
  42.     .\INITTERM.C
  43.  
  44. .\SAMPLE03.obj: \
  45.     .\SAMPLE03.C \
  46.     {.;$(INCLUDE);}sample03.h
  47.  
  48. clean:
  49.    - @del *.obj
  50.    - @del *.exp
  51.    - @del *.lib
  52.    - @del *.dll
  53.    - @del *.exe
  54.    - @del *.pdb
  55.    - @del *.map
  56.