home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
IOC
/
HELLO5
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1995-05-15
|
3KB
|
72 lines
#*******************************************************************************
#* SAMPLE PROJECT: Hello World Version 5 Makefile for OS/2 *
#* *
#* COPYRIGHT: *
#* ---------- *
#* Copyright (C) International Business Machines Corp., 1992,1995. *
#* *
#* DISCLAIMER OF WARRANTIES: *
#* ------------------------- *
#* The following [enclosed] code is sample code created by IBM *
#* Corporation. This sample code is not part of any standard IBM product *
#* and is provided to you solely for the purpose of assisting you in the *
#* development of your applications. The code is provided "AS IS", *
#* without warranty of any kind. IBM shall not be liable for any damages *
#* arising out of your use of the sample code, even if they have been *
#* advised of the possibility of such damages. *
#* *
#*******************************************************************************
# Make file assumptions:
# - Environment variable INCLUDE contains paths to:
# IBM Compiler target_directory\include;
# OS/2 Developer's Toolkit target_directory include paths
# - Environment variable LIB contains paths to:
# IBM Compiler target_directory\lib;
# OS/2 Developer's Toolkit target_directory lib paths
# - Current directory contains source files. Originals are in:
# IBM Compiler target_directory\samples\ioc\hello5
# - current directory will be used to store:
# object, executable, and resource files
ERASE=ERASE
GCPPC=ICC.EXE
GLINK=ICC.EXE
ICLCPPOPTS=/GM /GD /DIC_TRACE_ALL /DIC_DEVELOP
GCPPFLAGS=$(LOCALOPTS) $(ICLCPPOPTS)
GCPPLFLAGS=/Tdp /B" /pmtype:pm"
all: HELLO5.EXE AHELLOW5.ICO AHELLOW5.HLP
HELLO5.EXE: AHELLOW5.OBJ ADIALOG5.OBJ AEARTHW5.OBJ AHELLOW5.RES
$(GLINK) $(GCPPLFLAGS) /Fe"HELLO5.EXE" \
AHELLOW5.OBJ ADIALOG5.OBJ AEARTHW5.OBJ
RC AHELLOW5.RES HELLO5.EXE
AHELLOW5.OBJ: AHELLOW5.CPP AHELLOW5.HPP ADIALOG5.HPP AEARTHW5.HPP AHELLOW5.H
$(GCPPC) /C $(GCPPFLAGS) AHELLOW5.CPP
ADIALOG5.OBJ: ADIALOG5.CPP ADIALOG5.HPP AHELLOW5.H
$(GCPPC) /C $(GCPPFLAGS) ADIALOG5.CPP
AEARTHW5.OBJ: AEARTHW5.CPP AEARTHW5.HPP AHELLOW5.H
$(GCPPC) /C $(GCPPFLAGS) AEARTHW5.CPP
AHELLOW5.RES: AHELLOW5.RC AHELLOW5.H
RC -r -DIC_PM AHELLOW5.RC
AHELLOW5.HLP: AHELLOW5.IPF
IPFC AHELLOW5.IPF
clean:
$(ERASE) HELLO5.EXE
$(ERASE) AHELLOW5.OBJ
$(ERASE) ADIALOG5.OBJ
$(ERASE) AEARTHW5.OBJ
$(ERASE) AHELLOW5.RES
$(ERASE) AHELLOW5.HLP