home *** CD-ROM | disk | FTP | other *** search
Makefile | 1988-04-12 | 1.1 KB | 37 lines |
- # makefile.bsd (c) copyright 1986 (Dan Heller)
- #
- HDRS= mush.h config.h-dist strings.h bindings.h
- SRCS= main.c init.c misc.c mail.c hdrs.c execute.c commands.c print.c dates.c \
- signals.c aliases.c setopts.c msgs.c pick.c sort.c expr.c folders.c \
- loop.c help.c viewopts.c curses.c curs_io.c bind.c file.c strings.c
- OBJS= main.o init.o misc.o mail.o hdrs.o execute.o commands.o print.o file.o \
- signals.o aliases.o setopts.o msgs.o pick.o sort.o expr.o strings.o \
- folders.o dates.o loop.o help.o viewopts.o curses.o curs_io.o bind.o
- HELP_FILES= README-6.0 README cmd_help mush.1
- MAKES= makefile.bsd makefile.x286 makefile.x386 makefile.sys.v
-
- CFLAGS= -O -DCURSES -DBSD
- LDFLAGS= -s
- LINTFLAGS= -bxah -Dlint -DCURSES -DBSD
- LIBES= -lcurses -ltermlib
-
- mush: $(OBJS)
- @echo loading...
- @cc $(LDFLAGS) $(OBJS) $(LIBES) -o mush
-
- tape:
- @tar fcv /dev/rst0 $(MAKES) $(HDRS) $(SRCS) $(HELP_FILES)
-
- tar:
- @tar fcv MUSH $(MAKES) $(HDRS) $(SRCS) $(HELP_FILES)
-
- tarmail:
- tar fcv - $(MAKES) $(HDRS) $(SRCS) $(HELP_FILES) | \
- compress | btoa > mush.tarmail
-
- lint:
- lint $(LINTFLAGS) $(SRCS)
-
- clean:
- rm -f *.o core mush
-