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