Makefile.wnb revision 60786
160786Sps# Makefile for less. 260786Sps# Windows version 360786Sps 460786Sps#### Start of system configuration section. #### 560786Sps 660786SpsCC = bcc32 760786SpsLIBDIR = d:\bc45\lib 860786Sps 960786SpsCFLAGS = -O2 -w-pro -TWC -P-c -v- -d -f- -ff- -vi 1060786SpsLDFLAGS = /Tpe /v- /ap /c /x 1160786SpsLD = tlink32 1260786SpsLIBS = ${LIBDIR}\import32.lib ${LIBDIR}\cw32.lib 1360786Sps 1460786Sps#### End of system configuration section. #### 1560786Sps 1660786Sps# This rule allows us to supply the necessary -D options 1760786Sps# in addition to whatever the user asks for. 1860786Sps.c.obj: 1960786Sps ${CC} -c -I. ${CPPFLAGS} ${CFLAGS} $< 2060786Sps 2160786SpsOBJ = main.obj screen.obj brac.obj ch.obj charset.obj cmdbuf.obj command.obj \ 2260786Sps decode.obj edit.obj filename.obj forwback.obj help.obj ifile.obj \ 2360786Sps input.obj jump.obj line.obj linenum.obj lsystem.obj \ 2460786Sps mark.obj optfunc.obj option.obj opttbl.obj os.obj output.obj \ 2560786Sps position.obj prompt.obj search.obj signal.obj tags.obj \ 2660786Sps ttyin.obj version.obj regexp.obj 2760786Sps 2860786Spsall: less lesskey 2960786Sps 3060786Sps# This is really horrible, but the command line is too long for 3160786Sps# MS-DOS if we try to link ${OBJ}. 3260786Spsless: ${OBJ} 3360786Sps -del lesskey.obj 3460786Sps ${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj *.obj, $@,,${LIBS} 3560786Sps 3660786Spslesskey: lesskey.obj version.obj 3760786Sps ${LD} ${LDFLAGS} ${LIBDIR}\c0x32.obj lesskey.obj version.obj, $@,,${LIBS} 3860786Sps 3960786Spsdefines.h: defines.wn 4060786Sps -del defines.h 4160786Sps -copy defines.wn defines.h 4260786Sps 4360786Sps${OBJ}: less.h defines.h funcs.h cmd.h 4460786Sps 4560786Spsclean: 4660786Sps -del *.obj 4760786Sps -del less.exe 4860786Sps -del lesskey.exe 4960786Sps 50