home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-04-13 | 1.2 KB | 49 lines |
- # 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
- CFLAGS = -g $(HELP)
- EXEC = m
-
- $(EXEC): $(OBJS)
- $(CC) $(CFLAGS) $(OBJS) -o $(EXEC)
-
- unix:
- shar -b $(CFILES) $(HFILES) $(MISC) > most.shar
-
- most.doc: most.1
- nroff -man $? > $@
-
- vms:
- (echo "\$$ files = \"\"" ) > make.com
- for file in $(CFILES); do\
- (echo "\$$ files = files + \",$$file\" - \".c\"")\
- >> make.com; \
- done
- (echo "\$$ files = files - \",\"" ) >> make.com
- (cat makecom.com) >> make.com
- pack $(CFILES) $(HFILES) $(MISC) -o most.com
-
- lpr:
- for file in $(CFILES) $(HFILES); do\
- pprint north $$file -l c -p; \
- done
-
-
-
-
-
-
-