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

  1. # HELLO WORLD SAMPLE PROGRAM - Version 2: Makefile (AMAKE2.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:           hello2
  10.  
  11. hello2:        hello2.exe
  12. #
  13. #       Statements to link the EXE file
  14. #
  15. hello2.exe:    ahellow2.obj ahellow2.def ahellow2.res
  16.                icc /Tdp /B"/DE /PM:PM /MAP" \
  17.                ahellow2.obj  \
  18.                /Fehello2.exe /Fmahellow2.map \
  19.                ibase.lib ibasectl.lib ibaseapp.lib iclcc.lib ahellow2.def
  20. #
  21. #       Statements to add resources to the EXE file                           v2
  22. #
  23.                rc ahellow2.res hello2.exe
  24. #
  25. #       Statements to compile the AHelloWindow class
  26. #
  27. ahellow2.obj:  ahellow2.cpp ahellow2.hpp ahellow2.h
  28.                icc $(GCPPFLAGS) ahellow2.cpp
  29. #
  30. #       Statements to compile resources for the AHelloWindow class            v2
  31. #
  32. ahellow2.res:  ahellow2.rc ahellow2.h ahellow2.ico
  33.                rc -r ahellow2.rc
  34.