2 # OS-9 version for Microware C 3.2.
4 #### Start of system configuration section. ####
7 CPPFLAGS = -D_OSK_MWC32 -DDEBUG=0 -DSTRCSPN
9 CFLAGS_COMPILE_ONLY = -r
11 LIBS = -l=/dd/lib/termlib.l
15 #### End of system configuration section. ####
19 # This rule allows us to supply the necessary -D options
20 # in addition to whatever the user asks for.
23 ${CC} ${CFLAGS_COMPILE_ONLY} ${CPPFLAGS} ${CFLAGS} $<
26 main.${O} screen.${O} brac.${O} ch.${O} charset.${O} cmdbuf.${O} \
27 command.${O} cvt.${O} decode.${O} edit.${O} filename.${O} forwback.${O} \
28 help.${O} ifile.${O} input.${O} jump.${O} line.${O} linenum.${O} \
29 lsystem.${O} mark.${O} optfunc.${O} option.${O} opttbl.${O} os.${O} \
30 output.${O} pattern.${O} position.${O} prompt.${O} search.${O} signal.${O} \
31 tags.${O} ttyin.${O} version.${O} regexp.${O}
33 all: less lessecho lesskey
36 ${CC} ${OBJ} -f=$@ ${LDFLAGS} ${LIBS}
38 lesskey: lesskey.${O} version.${O}
39 ${CC} lesskey.${O} version.${O} -f=$@ ${LDFLAGS}
41 lessecho: lessecho.${O} version.${O}
42 ${CC} lessecho.${O} version.${O} -f=$@ ${LDFLAGS}
44 ${OBJ}: defines.h less.h
47 copy defines.o9 defines.h -rf