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