1*f7cf2976SLionel Sambuc# Makefile for less. 2*f7cf2976SLionel Sambuc# OS-9 version for Microware C 3.2. 3*f7cf2976SLionel Sambuc 4*f7cf2976SLionel Sambuc#### Start of system configuration section. #### 5*f7cf2976SLionel Sambuc 6*f7cf2976SLionel SambucCC = cc 7*f7cf2976SLionel SambucCPPFLAGS = -D_OSK_MWC32 -DDEBUG=0 -DSTRCSPN 8*f7cf2976SLionel SambucCFLAGS = -k=0 -v=. 9*f7cf2976SLionel SambucCFLAGS_COMPILE_ONLY = -r 10*f7cf2976SLionel SambucLDFLAGS = -igm=8 11*f7cf2976SLionel SambucLIBS = -l=/dd/lib/termlib.l 12*f7cf2976SLionel SambucO = r 13*f7cf2976SLionel Sambuc 14*f7cf2976SLionel Sambuc 15*f7cf2976SLionel Sambuc#### End of system configuration section. #### 16*f7cf2976SLionel Sambuc 17*f7cf2976SLionel Sambuc.SUFFIXES: .c .${O} 18*f7cf2976SLionel Sambuc 19*f7cf2976SLionel Sambuc# This rule allows us to supply the necessary -D options 20*f7cf2976SLionel Sambuc# in addition to whatever the user asks for. 21*f7cf2976SLionel Sambuc 22*f7cf2976SLionel Sambuc.c.${O}: 23*f7cf2976SLionel Sambuc ${CC} ${CFLAGS_COMPILE_ONLY} ${CPPFLAGS} ${CFLAGS} $< 24*f7cf2976SLionel Sambuc 25*f7cf2976SLionel SambucOBJ = \ 26*f7cf2976SLionel Sambuc main.${O} screen.${O} brac.${O} ch.${O} charset.${O} cmdbuf.${O} \ 27*f7cf2976SLionel Sambuc command.${O} cvt.${O} decode.${O} edit.${O} filename.${O} forwback.${O} \ 28*f7cf2976SLionel Sambuc help.${O} ifile.${O} input.${O} jump.${O} line.${O} linenum.${O} \ 29*f7cf2976SLionel Sambuc lsystem.${O} mark.${O} optfunc.${O} option.${O} opttbl.${O} os.${O} \ 30*f7cf2976SLionel Sambuc output.${O} pattern.${O} position.${O} prompt.${O} search.${O} signal.${O} \ 31*f7cf2976SLionel Sambuc tags.${O} ttyin.${O} version.${O} regexp.${O} 32*f7cf2976SLionel Sambuc 33*f7cf2976SLionel Sambucall: less lessecho lesskey 34*f7cf2976SLionel Sambuc 35*f7cf2976SLionel Sambucless: ${OBJ} 36*f7cf2976SLionel Sambuc ${CC} ${OBJ} -f=$@ ${LDFLAGS} ${LIBS} 37*f7cf2976SLionel Sambuc 38*f7cf2976SLionel Sambuclesskey: lesskey.${O} version.${O} 39*f7cf2976SLionel Sambuc ${CC} lesskey.${O} version.${O} -f=$@ ${LDFLAGS} 40*f7cf2976SLionel Sambuc 41*f7cf2976SLionel Sambuclessecho: lessecho.${O} version.${O} 42*f7cf2976SLionel Sambuc ${CC} lessecho.${O} version.${O} -f=$@ ${LDFLAGS} 43*f7cf2976SLionel Sambuc 44*f7cf2976SLionel Sambuc${OBJ}: defines.h less.h 45*f7cf2976SLionel Sambuc 46*f7cf2976SLionel Sambucdefines.h: defines.o9 47*f7cf2976SLionel Sambuc copy defines.o9 defines.h -rf 48