home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / VERSION / MAKEFILE < prev    next >
Text File  |  1995-05-15  |  2KB  |  43 lines

  1. #*******************************************************************************
  2. #* SAMPLE PROJECT: VERSION SAMPLE MAKEFILE for OS/2                            *
  3. #*                                                                             *
  4. #* COPYRIGHT:                                                                  *
  5. #* ----------                                                                  *
  6. #* Copyright (C) International Business Machines Corp., 1992,1995.             *
  7. #*                                                                             *
  8. #* DISCLAIMER OF WARRANTIES:                                                   *
  9. #* -------------------------                                                   *
  10. #* The following [enclosed] code is sample code created by IBM                 *
  11. #* Corporation.  This sample code is not part of any standard IBM product      *
  12. #* and is provided to you solely for the purpose of assisting you in the       *
  13. #* development of your applications.  The code is provided "AS IS",            *
  14. #* without warranty of any kind.  IBM shall not be liable for any damages      *
  15. #* arising out of your use of the sample code, even if they have been          *
  16. #* advised of the possibility of such damages.                                 *
  17. #*                                                                             *
  18. #*******************************************************************************
  19.  
  20. ERASE=ERASE
  21. GCPPC=ICC.EXE
  22. GLINK=ICC.EXE
  23.  
  24. ICLCPPOPTS=/GM /GD /DIC_TRACE_ALL /DIC_DEVELOP
  25.  
  26. GCPPFLAGS=$(LOCALOPTS) $(ICLCPPOPTS)
  27.  
  28. GCPPLFLAGS=/B" /pmtype:pm"
  29.  
  30. all:  version.EXE
  31.  
  32.  
  33. version.EXE:  version.OBJ
  34.         $(GLINK) $(GCPPLFLAGS) /Fe"version.EXE" \
  35.           version.OBJ
  36.  
  37. version.OBJ:  version.CPP
  38.         $(GCPPC) /C $(GCPPFLAGS) version.CPP
  39.  
  40. clean:
  41.         $(ERASE) version.EXE
  42.         $(ERASE) version.OBJ
  43.