Source

oclegacy / MasterMake.bor

Full commit
#
# Master make file.  This makefile is included by all other makefiles
# so anything defined here affects _all_ makefiles, master makefile,
# source makefiles and individual target headers, except certain libs
# which are maintained independently of OverChat.
#
# This header in intended to be built with Borland make.
#
# OverChat
# (C)Copyright 2001-2002 Daybo Logic, all rights reserved.
#

# The default C compiler depends on the version of Borland C++ you use
# In BCC 5.02 and below the default appears to be bcc.  In later versions it
# is bcc32.  I manually over ride this to bcc32 here, to use the Borland default
# comment it out and if you want bcc expliclt use change to bcc.  OverChat
# is a 32-bit system so bcc will probally fail.
CC=bcc32

# Make utility, alwayus make in Borland, but you never know eh?
# You might have a better version.  Always refer to TMAKE in lower level
# makefiles, never make directly.
TMAKE=make

# Debugging.  If you want debugging for the entire project, make sure
# that DEBUG is defined, otherwise comment it out.
DEBUG=1

# This specifies the default name of the Makefile, don't mess with it or
# everything will be broken.
THISFILE=Makefile.bor

# The very strict ruleset applied to certain files.
ANSI=-A

# Default flags
# CFLAGS specifies the default flags given to the compiler, they must not conflict
# with specific compiler flags used by lower level makefiles.
# LFLAGS specifies the linker default flags.

!ifdef DEBUG

MASTER_CFLAGS=-D__WIN32__ -v -c
MASTER_LFLAGS=-v

!else

MASTER_CFLAGS=-D__WIN32__ -O2 -c
MASTER_LFLAGS=

!endif