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