2 # OS-9 version for Ultra C.
4 #### Start of system configuration section. ####
9 CFLAGS_COMPILE_ONLY = -eas
11 LIBS = -ltermlib.l -lsys_clib.l -lunix.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.
22 ${CC} ${CFLAGS_COMPILE_ONLY} ${CPPFLAGS} ${CFLAGS} $<
24 OBJ = main.${O} screen.${O} brac.${O} ch.${O} charset.${O} cmdbuf.${O} \
25 command.${O} decode.${O} edit.${O} filename.${O} forwback.${O} \
26 help.${O} ifile.${O} input.${O} jump.${O} line.${O} linenum.${O} \
27 lsystem.${O} mark.${O} optfunc.${O} option.${O} opttbl.${O} os.${O} \
28 output.${O} position.${O} prompt.${O} search.${O} signal.${O} \
29 tags.${O} ttyin.${O} version.${O} regexp.${O}
34 ${CC} ${OBJ} -f=$@ ${LDFLAGS} ${LIBS}
36 lesskey: lesskey.${O} version.${O}
37 ${CC} lesskey.${O} version.${O} -f=$@ ${LDFLAGS}
39 ${OBJ}: defines.h less.h
42 copy defines.o9 defines.h -rf