home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ICLUI.ZIP / HELLO4 / AMAKE4.MAK < prev    next >
Text File  |  1993-03-09  |  1KB  |  39 lines

  1. # HELLO WORLD SAMPLE PROGRAM - Version 4: Makefile (AMAKE4.MAK)
  2. #
  3. # COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1993.
  4. #
  5. #       Define variables for makefile
  6. #
  7. GCPPFLAGS=-Fd -c
  8.  
  9. all:           hello4
  10.  
  11. hello4:        hello4.exe
  12. #
  13. #       Statements to link exe file
  14. #
  15. hello4.exe:    ahellow4.obj adialog4.obj ahellow4.def ahellow4.res
  16.                icc /Tdp /B"/DE /PM:PM /MAP" \
  17.                ahellow4.obj adialog4.obj  \
  18.                /Fehello4.exe /Fmahellow4.map \
  19.                ibase.lib ibasectl.lib ibaseapp.lib iclcc.lib ahellow4.def
  20. #
  21. #       Statements to add resources to exe file                               v2
  22. #
  23.                rc ahellow4.res hello4.exe
  24. #
  25. #       Statements to compile AHelloWindow Class
  26. #
  27. ahellow4.obj:  ahellow4.cpp ahellow4.hpp ahellow4.h adialog4.hpp
  28.                icc $(GCPPFLAGS) ahellow4.cpp
  29. #
  30. #       Statements to compile ADialogWindow Class                             v4
  31. #
  32. adialog4.obj:  adialog4.cpp adialog4.hpp ahellow4.h
  33.                icc $(GCPPFLAGS) adialog4.cpp
  34. #
  35. #       Statements to compile resources for hello4.exe                        v2
  36. #
  37. ahellow4.res:  ahellow4.rc ahellow4.h ahellow4.ico adialog4.dlg
  38.                rc -r ahellow4.rc
  39.