# if you do not want the foc file used as help, but want a short one page # help summary then comment out the following line: #HELP = -DMOST_HELP_USE_DOC # and uncomment the next line: HELP = CFILES = main.c buffer.c file.c window.c line.c display.c \ sysdep.c keym.c most.c search.c help.c dir.c cmd.c edit.c OBJS = main.o buffer.o file.o window.o line.o display.o \ sysdep.o keym.o most.o search.o help.o dir.o cmd.o edit.o HFILES = buffer.h file.h window.h line.h display.h \ sysdep.h keym.h most.h search.h externs.h MISC = most.1 most.doc make.com aaa_read.me rtl.opt changes.txt makefile\ makecom.com CC = cc -g # gcc -Wall -O6 # # Some systems might want to define sgi as well. # CFLAGS = $(HELP) EXEC = most $(EXEC): $(OBJS) $(CC) $(CFLAGS) $(OBJS) -o $(EXEC) -ltermcap unix: shar -b $(CFILES) $(HFILES) $(MISC) > most.shar unix_dist: makekit -nmost -s40k $(CFILES) $(HFILES) $(MISC) most.doc: most.1 nroff -man $? > $@ export: export -f export.lis lpr: for file in $(CFILES) $(HFILES); do\ pprint north $$file -l c -p; \ done