home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / compiler / sample03 / makefile < prev    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. # SAMPLE03 makefile
  15.  
  16.  
  17. .SUFFIXES: .C .obj .exp
  18.  
  19. .all: \
  20.     sample03.dll main03.exe
  21.  
  22. .C.obj:
  23.     @echo " Compile::C++ Compiler "
  24.     icc.exe  /Q /Gh /Ti /Gd /Fo"%|dpfF.obj" /C %s
  25.  
  26. main03.exe: \
  27.     MAIN03.obj \
  28.     {$(LIB)}cppwpa3.obj \
  29.     .\sort\sample03.lib
  30.     @echo " Link::Linker "
  31.     icc.exe @<<
  32.      /Q /B" /de /noe"
  33.      /Femain03.exe
  34.      $**
  35. <<
  36.  
  37. sample03.dll: .\sort\sample03.dll
  38.    copy .\sort\sample03.dll
  39.  
  40. MAIN03.obj: \
  41.     MAIN03.C \
  42.     {.;$(INCLUDE);}sample03.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.