4 #### Start of system configuration section. ####
9 CFLAGS = -O2 -w-pro -TWC -P-c -v- -d -f- -ff- -vi
10 LDFLAGS = /Tpe /v- /ap /c /x
12 LIBS = ${LIBDIR}\import32.lib ${LIBDIR}\cw32.lib
14 #### End of system configuration section. ####
16 # This rule allows us to supply the necessary -D options
17 # in addition to whatever the user asks for.
19 ${CC} -c -I. ${CPPFLAGS} ${CFLAGS} $<
21 OBJ = main.obj screen.obj brac.obj ch.obj charset.obj cmdbuf.obj command.obj \
22 decode.obj edit.obj filename.obj forwback.obj help.obj ifile.obj \
23 input.obj jump.obj line.obj linenum.obj lsystem.obj \
24 mark.obj optfunc.obj option.obj opttbl.obj os.obj output.obj \
25 position.obj prompt.obj search.obj signal.obj tags.obj \
26 ttyin.obj version.obj regexp.obj
30 # This is really horrible, but the command line is too long for
31 # MS-DOS if we try to link ${OBJ}.
34 ${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj *.obj, $@,,${LIBS}
36 lesskey: lesskey.obj version.obj
37 ${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj lesskey.obj version.obj, $@,,${LIBS}
41 -copy defines.wn defines.h
43 ${OBJ}: less.h defines.h funcs.h cmd.h