2 # Windows 32 Visual C++ version
4 #### Start of system configuration section. ####
9 CFLAGS = /nologo /ML /W3 /GX /O2 /I "." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c
10 LDFLAGS = /nologo /subsystem:console /incremental:no /machine:I386
13 #CFLAGS = /nologo /MDd /W3 /GX /Od /Gm /Zi /I "." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c
14 #LDFLAGS = /nologo /subsystem:console /incremental:yes /debug /machine:I386
19 #### End of system configuration section. ####
21 # This rule allows us to supply the necessary -D options
22 # in addition to whatever the user asks for.
27 main.obj screen.obj brac.obj ch.obj charset.obj cmdbuf.obj \
28 command.obj cvt.obj decode.obj edit.obj filename.obj forwback.obj \
29 help.obj ifile.obj input.obj jump.obj line.obj linenum.obj \
30 lsystem.obj mark.obj optfunc.obj option.obj opttbl.obj os.obj \
31 output.obj pattern.obj position.obj prompt.obj search.obj signal.obj \
32 tags.obj ttyin.obj version.obj regexp.obj
34 all: less.exe lesskey.exe
36 # This is really horrible, but the command line is too long for
37 # MS-DOS if we try to link ${OBJ}.
40 $(LD) $(LDFLAGS) *.obj $(LIBS) /out:$@
42 lesskey.exe: lesskey.obj version.obj
43 $(LD) $(LDFLAGS) lesskey.obj version.obj $(LIBS) /out:$@
47 -copy defines.wn defines.h
49 $(OBJ): less.h defines.h funcs.h cmd.h