3 # Bolarnd C++ 5.5.1 free command line tools
5 #### Start of system configuration section. ####
7 # Borland's make knows its own location in the
12 LIBDIR = $(MAKEDIR)\..\lib
14 CFLAGS = -O2 -w-pro -TWC -P-c -v- -d -f- -ff- -vi
15 LDFLAGS = -Tpe -v- -ap -c -x -V4.0 -GF:AGGRESSIVE
17 LIBS = ${LIBDIR}\import32.lib ${LIBDIR}\cw32.lib
19 #### End of system configuration section. ####
22 # This rule allows us to supply the necessary -D options
23 # in addition to whatever the user asks for.
26 ${CC} -c -I. ${CPPFLAGS} ${CFLAGS} $<
29 main.obj screen.obj brac.obj ch.obj charset.obj cmdbuf.obj \
30 command.obj cvt.obj decode.obj edit.obj filename.obj forwback.obj \
31 help.obj ifile.obj input.obj jump.obj line.obj linenum.obj \
32 lsystem.obj mark.obj optfunc.obj option.obj opttbl.obj os.obj \
33 output.obj pattern.obj position.obj prompt.obj search.obj signal.obj \
34 tags.obj ttyin.obj version.obj regexp.obj
36 all: less lesskey lessecho
39 # This is really horrible, but the command line is too long for
40 # MS-DOS if we try to link ${OBJ}.
43 ${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj $**, $@,,${LIBS}
45 lesskey: lesskey.obj version.obj
46 ${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj $**, $@,,${LIBS}
48 lessecho: lessecho.obj version.obj
49 ${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj $**, $@,,${LIBS}
53 -copy defines.wn defines.h
55 ${OBJ}: less.h defines.h funcs.h cmd.h