home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
i
/
iritsm3s.zip
/
makeflag.dos
< prev
next >
Wrap
Text File
|
1992-03-10
|
2KB
|
79 lines
#
# All libraries created will be installed into the LIB directory.
#
LIB_DIR = c:\bc\mylib
CAGD_LIB = $(LIB_DIR)\cagd_lib.lib
INTR_LIB = $(LIB_DIR)\intr_lib.lib
MISC_LIB = $(LIB_DIR)\misc_lib.lib
GIF_LIB = $(LIB_DIR)\gif_libl.lib
#
# Where Borland libraries are to searched for.
#
TC_LIB_DIR = c:\bc\lib
#
# All includes files associated with the libraries compiled here will be
# installed into the INC directory.
#
INC_DIR = c:\bc\myinclud
#
# All binaries created will be installed into the BIN directory.
#
BIN_DIR = c:\c\irit\bin
#
# Flags for compiler/linker:
#
# 8088 flags
#
# CFLAGS = -ml -a- -f -G -O -r -c -d -w -v- -y- -N- -k-
# LFLAGS = /x/c
#
# 80286/80287 flags:
#
# CFLAGS = -ml -a- -f287 -1 -G -O -r -c -d -w -v- -y- -N- -k-
# LFLAGS = /x/c
#
# Debug flags:
#
# CFLAGS = -ml -a- -f -c -d -w -v -y -N -k
# LFLAGS = /v/c
#
# 8088 flags for Borland C++ 3.0 optimized for size.
# Change -O1 to -O2 for speed optimization.
# Warning: You may use -pr options for all tools but IRIT.
#
CFLAGS = -ml -a- -f -G- -O1 -r -c -d -w -v- -y- -N- -k-
LFLAGS = /x/c
#
# Math lib can be one of emu.lib (80x87 emulation) or fp87.lib.
#
MATHLIB = emu.lib
# Your C compiler and linker.
CC = bcc
LNK = tlink
#
# Default rule for compilation.
#
# The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
# choke on them (the { } signals batch mode that combines few operation at the
# same time - very nice feature!).
.c.obj:
$(CC) -I. -I$(INC_DIR) $(CFLAGS) {$< }
#
# All libraries.
#
LIBS = $(CAGD_LIB) $(INTR_LIB) $(MISC_LIB) $(GIF_LIB) \
$(TC_LIB_DIR)\graphics.lib \
$(TC_LIB_DIR)\$(MATHLIB) \
$(TC_LIB_DIR)\mathl.lib \
$(TC_LIB_DIR)\cl.lib