home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
IOC
/
LANCELOT
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1995-05-15
|
6KB
|
164 lines
#*******************************************************************************
#* SAMPLE PROJECT: Lancelot 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\lancelot
# - current directory will be used to store:
# object, executable, and resource files
ERASE=ERASE
GCPPC=ICC.EXE
GLINK=ICC.EXE
ICLCPPOPTS=/GM /GD /O /Q /DIC_TRACE_ALL /DIC_DEVELOP
GCPPFLAGS=$(LOCALOPTS) $(ICLCPPOPTS)
GCPPLFLAGS=/Tdp /Q /B" /pmtype:pm"
all: lancelot.exe
lancelot.exe: lancelot.inf lancelot.obj lmainwin.obj linfowin.obj \
lperswin.obj linfonb.obj lcnrobj.obj lpagectl.obj lacct.obj \
lstatus.obj lbadge.obj lskill.obj lgenl.obj lgoodies.obj \
ldbase.obj lproject.obj ltask.obj ltimec.obj ltimepie.obj \
lperswdm.obj lgeneric.obj ldbqry.obj lancelot.res lanchelp.hlp
$(GLINK) $(GCPPLFLAGS) /Fe"lancelot.exe" \
lancelot.obj lmainwin.obj linfowin.obj \
lperswin.obj linfonb.obj lcnrobj.obj lacct.obj lbadge.obj \
lstatus.obj lskill.obj lgenl.obj lpagectl.obj ldbase.obj \
lproject.obj ltask.obj ltimec.obj ltimepie.obj \
ldbqry.obj lgeneric.obj lgoodies.obj lperswdm.obj
RC lancelot.res lancelot.exe
lancelot.obj: lancelot.cpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) lancelot.cpp
lpagectl.obj: lpagectl.cpp lpagectl.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) lpagectl.cpp
lacct.obj: lacct.cpp lacct.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) lacct.cpp
lstatus.obj: lstatus.cpp lstatus.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) lstatus.cpp
lbadge.obj: lbadge.cpp lbadge.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) lbadge.cpp
lskill.obj: lskill.cpp lskill.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) lskill.cpp
lgenl.obj: lgenl.cpp lgenl.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) lgenl.cpp
lgoodies.obj: lgoodies.cpp lgoodies.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) lgoodies.cpp
ldbqry.obj: ldbqry.cpp ldbqry.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) ldbqry.cpp
ldbase.obj: ldbase.cpp ldbase.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) ldbase.cpp
lgeneric.obj: lgeneric.cpp lgeneric.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) lgeneric.cpp
lcnrobj.obj: lcnrobj.cpp lcnrobj.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) lcnrobj.cpp
linfonb.obj: linfonb.cpp linfonb.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) linfonb.cpp
lperswin.obj: lperswin.cpp lperswin.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) lperswin.cpp
linfowin.obj: linfowin.cpp linfowin.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) linfowin.cpp
lmainwin.obj: lmainwin.cpp lmainwin.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) lmainwin.cpp
lproject.obj: lproject.cpp lproject.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) lproject.cpp
ltask.obj: ltask.cpp ltask.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) ltask.cpp
ltimec.obj: ltimec.cpp ltimec.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) ltimec.cpp
ltimepie.obj: ltimepie.cpp ltimepie.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) ltimepie.cpp
lperswdm.obj: lperswdm.cpp lperswdm.hpp lancelot.h
$(GCPPC) /C $(GCPPFLAGS) lperswdm.cpp
lancelot.res: lancelot.rc lancelot.h \
lancelot.ico query.ico query2.ico \
person1.ico person2.ico person3.ico person4.ico personu.ico \
add.ico change.ico help.ico next.ico previous.ico \
remove.ico save.ico undo.ico \
arrange.bmp boot.bmp create.bmp deselall.bmp \
opendeta.bmp openicon.bmp opentree.bmp selall.bmp \
sortasc.bmp sortdesc.bmp transfer.bmp
rc -r -DIC_PM lancelot.rc
lanchelp.hlp: lanchelp.ipf
ipfc lanchelp.ipf
lancelot.inf: lancelot.ipf
ipfc lancelot.ipf /inf
view lancelot.inf
clean:
$(ERASE) lancelot.obj
$(ERASE) lmainwin.obj
$(ERASE) linfowin.obj
$(ERASE) lperswin.obj
$(ERASE) linfonb.obj
$(ERASE) lcnrobj.obj
$(ERASE) lpagectl.obj
$(ERASE) lacct.obj
$(ERASE) lstatus.obj
$(ERASE) lbadge.obj
$(ERASE) lskill.obj
$(ERASE) lgenl.obj
$(ERASE) ldbase.obj
$(ERASE) ldbqry.obj
$(ERASE) lproject.obj
$(ERASE) ltask.obj
$(ERASE) ltimec.obj
$(ERASE) ltimepie.obj
$(ERASE) lgeneric.obj
$(ERASE) lgoodies.obj
$(ERASE) lperswdm.obj
$(ERASE) lancelot.res
$(ERASE) lancelot.inf
$(ERASE) lanchelp.hlp