160786Sps# Makefile for less. 260786Sps# Windows 32 Visual C++ version 360786Sps 460786Sps#### Start of system configuration section. #### 560786Sps 660786SpsCC = cl 760786Sps 860786Sps# Normal flags 960786SpsCFLAGS = /nologo /ML /W3 /GX /O2 /I "." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c 10221715SdelphijLDFLAGS = /nologo /subsystem:console /incremental:no /machine:I386 1160786Sps 1260786Sps# Debugging flags 1360786Sps#CFLAGS = /nologo /MDd /W3 /GX /Od /Gm /Zi /I "." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c 14221715Sdelphij#LDFLAGS = /nologo /subsystem:console /incremental:yes /debug /machine:I386 1560786Sps 1660786SpsLD = link 1760786SpsLIBS = user32.lib 1860786Sps 1960786Sps#### End of system configuration section. #### 2060786Sps 2160786Sps# This rule allows us to supply the necessary -D options 2260786Sps# in addition to whatever the user asks for. 2360786Sps.c.obj: 2460786Sps $(CC) $(CFLAGS) $< 2560786Sps 26195941SdelphijOBJ = \ 27195941Sdelphij main.obj screen.obj brac.obj ch.obj charset.obj cmdbuf.obj \ 28195941Sdelphij command.obj cvt.obj decode.obj edit.obj filename.obj forwback.obj \ 29195941Sdelphij help.obj ifile.obj input.obj jump.obj line.obj linenum.obj \ 30195941Sdelphij lsystem.obj mark.obj optfunc.obj option.obj opttbl.obj os.obj \ 31195941Sdelphij output.obj pattern.obj position.obj prompt.obj search.obj signal.obj \ 32195941Sdelphij tags.obj ttyin.obj version.obj regexp.obj 3360786Sps 3460786Spsall: less.exe lesskey.exe 3560786Sps 3660786Sps# This is really horrible, but the command line is too long for 3760786Sps# MS-DOS if we try to link ${OBJ}. 3860786Spsless.exe: $(OBJ) 3960786Sps -del lesskey.obj 4060786Sps $(LD) $(LDFLAGS) *.obj $(LIBS) /out:$@ 4160786Sps 4260786Spslesskey.exe: lesskey.obj version.obj 4360786Sps $(LD) $(LDFLAGS) lesskey.obj version.obj $(LIBS) /out:$@ 4460786Sps 4560786Spsdefines.h: defines.wn 4660786Sps -del defines.h 4760786Sps -copy defines.wn defines.h 4860786Sps 4960786Sps$(OBJ): less.h defines.h funcs.h cmd.h 5060786Sps 5160786Spsclean: 5260786Sps -del *.obj 5360786Sps -del less.exe 5460786Sps -del lesskey.exe 5560786Sps 5660786Sps 57