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