Annotation of src/usr.bin/less/Makefile.o9u, Revision 1.1
1.1 ! shadchin 1: # Makefile for less.
! 2: # OS-9 version for Ultra C.
! 3:
! 4: #### Start of system configuration section. ####
! 5:
! 6: CC = cc
! 7: CPPFLAGS =
! 8: CFLAGS = -v=.
! 9: CFLAGS_COMPILE_ONLY = -eas
! 10: LDFLAGS = -olM=24k
! 11: LIBS = -ltermlib.l -lsys_clib.l -lunix.l
! 12: O = r
! 13:
! 14:
! 15: #### End of system configuration section. ####
! 16:
! 17: .SUFFIXES: .c .${O}
! 18:
! 19: # This rule allows us to supply the necessary -D options
! 20: # in addition to whatever the user asks for.
! 21: .c.${O}:
! 22: ${CC} ${CFLAGS_COMPILE_ONLY} ${CPPFLAGS} ${CFLAGS} $<
! 23:
! 24: OBJ = \
! 25: main.${O} screen.${O} brac.${O} ch.${O} charset.${O} cmdbuf.${O} \
! 26: command.${O} cvt.${O} decode.${O} edit.${O} filename.${O} forwback.${O} \
! 27: help.${O} ifile.${O} input.${O} jump.${O} line.${O} linenum.${O} \
! 28: lsystem.${O} mark.${O} optfunc.${O} option.${O} opttbl.${O} os.${O} \
! 29: output.${O} pattern.${O} position.${O} prompt.${O} search.${O} signal.${O} \
! 30: tags.${O} ttyin.${O} version.${O} regexp.${O}
! 31:
! 32: all: less lesskey
! 33:
! 34: less: ${OBJ}
! 35: ${CC} ${OBJ} -f=$@ ${LDFLAGS} ${LIBS}
! 36:
! 37: lesskey: lesskey.${O} version.${O}
! 38: ${CC} lesskey.${O} version.${O} -f=$@ ${LDFLAGS}
! 39:
! 40: ${OBJ}: defines.h less.h
! 41:
! 42: defines.h: defines.o9
! 43: copy defines.o9 defines.h -rf