# 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.doc make.com aaa_read.me rtl.opt changes.txt Makefile

CC = cc 
CFLAGS = -g $(HELP)
EXEC = m

$(EXEC): $(OBJS)
	$(CC) $(CFLAGS) $(OBJS) -o $(EXEC)

vms:
	pack $(CFILES) $(HFILES) $(MISC) -o most.com

unix:
	shar -b $(CFILES) $(HFILES) $(MISC) > most.shar








