home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
TOOLKIT
/
MM
/
CAPTION
/
CAPTION.MAK
< prev
next >
Wrap
Text File
|
1995-04-04
|
2KB
|
65 lines
# SCCSID = @(#)makefile 13.7 92/04/22
#**************************************************************************
#
# MAKE file for Caption Creation Utility
#
# Assumes that the environment is set up for development. Specifically,
# the compiler, linker, rc and ipfc should be in the path. Also, the
# environment variables for the tools must be properly set, e.g. LIB,
# INCLUDE, IPFC. This should all be taken care of automatically by
# installing the OS/2 Toolkit and the MMPM/2 Toolkit.
#
# Copyright (C) IBM 1993
#**************************************************************************
CC = icc
LINK = ilink /nofree
BASELIBS = CPPOM30.LIB OS2386.LIB MMPM2.LIB
#
# Compilation Switches
#
# /G3s : Generate 386 code with no stack checking.
# /C+ : Compile only one module.
# /W3 : Warning level.
# /Gd- : Link to static C libraries.
# /Gm+ : Use multithreaded libraries.
# /DINCL_32 : Use IBM code.
# /Ti+ : Generate debugging code.
# /Ms : Puts Toronto compiler into C6.0 migration mode.
# /Sm : Generate debugging code.
# /O- : Turn optimization off.
#
CFLAGS = /G3s /C+ /W3 /Ss+ /Gd- /Ms /Gm+ /DINCL_32
DEBUG = /Ti+ /Sm /O-
COMPILE = $(CFLAGS)
#
# Link Switches
#
# /map : Creates a listing file containing all pulbic symbols.
# /nod : Causes all default libraries to be ignored.
# /noe : The linker will not search the extended dictionary.
#
LFLAGS = /map /nod /noe
all: caption.exe caption.hlp
caption.exe: caption.obj caption.res caption.def
$(LINK) caption.obj, caption.exe, caption.map $(LFLAGS) /ST:20000, $(BASELIBS), caption.def
$(RC) caption.res
mapsym caption
caption.obj: caption.c caption.h
$(CC) $(COMPILE) caption.c
caption.res: caption.rc caption.dlg caption.h
rc -r caption.rc
caption.hlp: caption.ipf
ipfc caption.ipf