home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / visbuild / doodle / darea / makefile.mak < prev   
Encoding:
Makefile  |  1996-02-19  |  2.5 KB  |  53 lines

  1. #*******************************************************************************
  2. #* SAMPLE PROJECT: Doodle Graphics Makefile - builds the DLL and Import LIB    *
  3. #*                 for the nonvisual part                                      *
  4. #*                                                                             *
  5. #* COPYRIGHT:                                                                  *
  6. #* ----------                                                                  *
  7. #* Copyright (C) International Business Machines Corp., 1992,1996.             *
  8. #*                                                                             *
  9. #* DISCLAIMER OF WARRANTIES:                                                   *
  10. #* -------------------------                                                   *
  11. #* The following [enclosed] code is sample code created by IBM                 *
  12. #* Corporation. This sample code is not part of any standard IBM product       *
  13. #* and is provided to you solely for the purpose of assisting you in the       *
  14. #* development of your applications.  The code is provided "AS IS",            *
  15. #* without warranty of any kind.  IBM shall not be liable for any damages      *
  16. #* arising out of your use of the sample code, even if they have been          *
  17. #* advised of the possibility of such damages.                                 *
  18. #*                                                                             *
  19. #*******************************************************************************
  20. # Make file assumptions:
  21. #    - Environment variable INCLUDE contains paths to:
  22. #       VisualAge C++ target_directory\include;VisualAge C++ target_directory\ibmclass;
  23. #       OS/2 Developer's Toolkit target_directory include paths
  24. #    - Environment variable LIB contains paths to:
  25. #       VisualAge C++ target_directory\lib;
  26. #       OS/2 Developer's Toolkit target_directory lib paths
  27. #    - Current directory contains source files.  Originals are in:
  28. #       VisualAge C++ target_directory\samples\iclui\2d-draw
  29. #    - current directory will be used to store:
  30. #       object, executable, and resource files
  31.  
  32. ERASE=ERASE
  33. GCPPC=ICC.EXE
  34. GLINK=ICC.EXE
  35.  
  36. ICLCPPOPTS=/GM /Ge- /GD /Ti+ /O-
  37.  
  38. GCPPFLAGS=$(LOCALOPTS) $(ICLCPPOPTS)
  39.  
  40. PARTCPPFLAGS=-Ftdarea -Gm+ -Ge+ -Gd+ -I. -Ti+ -DINO_CHECKS  -DIC_WIN -DIC_TRACE_DEVELOP
  41.  
  42.  
  43.  
  44. all: darea.lib
  45.  
  46. darea.lib: darea.obj
  47. #        ilib  /q +darea.obj darea.lib
  48.         ilib  /out:darea.lib darea.obj
  49.  
  50. darea.OBJ:  darea.CPP darea.HPP darea.H
  51.         $(GCPPC) /C $(PARTCPPFLAGS) darea.CPP
  52.  
  53.