home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ICLUI.ZIP / VPORT / AVPORT.MAK < prev    next >
Text File  |  1993-03-09  |  881b  |  40 lines

  1. # Canvas Classes Example 4 - ViewPort
  2. #
  3. # COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1993.
  4. #
  5. #       Define variables for makefile
  6. #
  7. GCPPC=icc
  8. GLINK=icc
  9. GCPPFLAGS=-Fd -c
  10. GLFLAGS=/Tdp /B"/PM:PM /ST:0xA000"
  11. ICLUILIBS=ibase.lib ibasectl.lib ibaseapp.lib iclcc.lib
  12. program=avport
  13. exename=vport
  14.  
  15. all:           $(program)
  16.  
  17. #
  18. # add resources to exe
  19. #
  20. $(program):    $(exename).exe $(program).res
  21.                rc $(program).res $(exename).exe
  22. #
  23. # link exe
  24. #
  25. $(exename).exe:   $(program).obj
  26.                   $(GLINK) $(GLFLAGS) $(program).obj   \
  27.                   /Fe$*.exe                            \
  28.                   $(ICLUILIBS)
  29. #
  30. # build the obj file
  31. #
  32. $(program).obj:  $*.cpp $*.hpp $*.h
  33.               $(GCPPC) $(GCPPFLAGS) $*.cpp
  34.  
  35. #
  36. # build the .res file
  37. #
  38. $(program).res: $*.h $*.rc
  39.               rc -r $*.rc
  40.