home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-07-30 | 713 b | 22 lines |
- # Options:
- # define SYSV or BSD in CFLAGS
- # define MENUDIR as the default dir to find menus in (if invoked as
- # "mshell foo.men", it will look for MENUDIR/foo.men)
- # define LOGDIR as the dir where logs of menu picks will be logged for each
- # user (as LOGDIR/username)
- # define MAILDIR as the dir to find mail files in (/usr/spool/mail/ by default)
- #
- # Check mshell.h for other options, e.g., max menu sizes.
-
- CFLAGS = -O -DBSD -DMENUDIR='"/nyx/lib/menus"' -DLOGDIR='"/nyx/lib/logs"'
- OBJS = mshell.o main.o string.o functions1.o functions2.o chdir.o mail.o \
- settatr.o setenv.o xsystem.o dl.o macro.o
-
- mshell: $(OBJS)
- cc $(CFLAGS) $(OBJS) -lcurses -ltermcap -o mshell
-
- $(OBJS) : mshell.h
-
- clean:
- rm *.o mshell
-