2
# OS/2 version, for emx+gcc compiler
4
#### Start of system configuration section. ####
12
#### 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 ${CPPFLAGS} ${CFLAGS} $<
21
OBJ = main.${O} screen.${O} brac.${O} ch.${O} charset.${O} cmdbuf.${O} \
22
command.${O} decode.${O} edit.${O} filename.${O} forwback.${O} \
23
help.${O} ifile.${O} input.${O} jump.${O} line.${O} linenum.${O} \
24
lsystem.${O} mark.${O} optfunc.${O} option.${O} opttbl.${O} os.${O} \
25
output.${O} position.${O} prompt.${O} search.${O} signal.${O} \
26
tags.${O} ttyin.${O} version.${O} regexp.${O}
28
all: less.exe lesskey.exe scrsize.exe
31
${CC} ${OBJ} -o $@ ${LDFLAGS} ${LIBS}
33
lesskey.exe: lesskey.${O} version.${O}
34
${CC} lesskey.${O} version.${O} -o $@ ${LDFLAGS}
36
scrsize.exe: scrsize.c
37
${CC} ${CFLAGS} -D__ST_MT_ERRNO__ -s -Zmtd -lX11 $<
39
${OBJ}: defines.h less.h
42
copy defines.o2 defines.h