home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ICLUI.ZIP
/
HELLO6
/
AMAKE6.MAK
< prev
next >
Wrap
Text File
|
1993-03-09
|
3KB
|
88 lines
# HELLO WORLD SAMPLE PROGRAM - Version 6: Makefile (AMAKE6.MAK)
#
# COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1993.
#
# Define variables for makefile
#
GCPPFLAGS=-Fd -c
all: hello6
hello6: hello6.exe ahellow6.hlp ahellowe.dll ahellowp.dll
#
# Statements to link exe file
#
hello6.exe: ahellow6.obj adialog6.obj aearthw6.obj atimehdr.obj \
acolorw6.obj aspeedw6.obj ahellow6.def
icc /Tdp /B"/DE /PM:PM /MAP" \
ahellow6.obj adialog6.obj aearthw6.obj atimehdr.obj \
acolorw6.obj aspeedw6.obj /Fehello6.exe /Fmahellow6.map \
ibase.lib ibasectl.lib ibaseapp.lib iclcc.lib ahellow6.def
#
# Statements to compile AHelloWindow Class
#
ahellow6.obj: ahellow6.cpp ahellow6.hpp ahellow6.h adialog6.hpp \
aearthw6.hpp acolorw6.hpp
icc $(GCPPFLAGS) ahellow6.cpp
#
# Statements to compile ADialogWindow Class v4
#
adialog6.obj: adialog6.cpp adialog6.hpp ahellow6.h
icc $(GCPPFLAGS) adialog6.cpp
#
# Statements to compile AEarthWindow Class v5
#
aearthw6.obj: aearthw6.cpp aearthw6.hpp
icc $(GCPPFLAGS) aearthw6.cpp
#
# Statements to compile ATimeHandler Class v6
#
atimehdr.obj: atimehdr.cpp atimehdr.hpp
icc $(GCPPFLAGS) atimehdr.cpp
#
# Statements to compile AColorWindow Class v6
#
acolorw6.obj: acolorw6.cpp acolorw6.hpp ahellow6.h
icc $(GCPPFLAGS) acolorw6.cpp
#
# Statements to compile ASpeedWindow Class v6
#
aspeedw6.obj: aspeedw6.cpp aspeedw6.hpp ahellow6.hpp ahellow6.h
icc $(GCPPFLAGS) aspeedw6.cpp
#
# Statements to compile Portuguese resources for AHelloWindow Class v6
#
ahellowe.res: ahellowe.rc ahellow6.h ahellow6.ico adialoge.dlg
rc -r ahellowe.rc
#
# Statements to compile English resources for AHelloWindow Class v2
#
ahellowp.res: ahellowp.rc ahellow6.h ahellow6.ico adialogp.dlg
rc -r ahellowp.rc
#
# Statements to create help resources for AHelloWindow Class v5
#
ahellow6.hlp: ahellow6.ipf
ipfc ahellow6.ipf /x
#
# Statements to link AHELLOWE.dll v6
#
ahellowe.dll: adummy6.obj ahellowe.def ahellowe.res
link386 adummy6.obj, \
ahellowe.dll,,, \
ahellowe.def ;
rc ahellowe.res ahellowe.dll
#
# Statements to link AHELLOWP.dll - Portuguese Version v6
#
ahellowp.dll: adummy6.obj ahellowp.def ahellowp.res
link386 adummy6.obj, \
ahellowp.dll,,, \
ahellowp.def ;
rc ahellowp.res ahellowp.dll
#
# Statements to compile ADummy mainline v6
#
adummy6.obj: adummy6.cpp
icc $(GCPPFLAGS) /Ge- adummy6.cpp