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