home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume38 / menushell / part03 / Makefile < prev    next >
Encoding:
Makefile  |  1993-07-30  |  713 b   |  22 lines

  1. # Options:
  2. # define SYSV or BSD in CFLAGS
  3. # define MENUDIR as the default dir to find menus in (if invoked as
  4. #    "mshell foo.men", it will look for MENUDIR/foo.men)
  5. # define LOGDIR as the dir where logs of menu picks will be logged for each
  6. #    user (as LOGDIR/username)
  7. # define MAILDIR as the dir to find mail files in (/usr/spool/mail/ by default)
  8. #
  9. # Check mshell.h for other options, e.g., max menu sizes.
  10.  
  11. CFLAGS =  -O -DBSD -DMENUDIR='"/nyx/lib/menus"' -DLOGDIR='"/nyx/lib/logs"'
  12. OBJS =    mshell.o main.o string.o functions1.o functions2.o chdir.o mail.o \
  13.     settatr.o setenv.o xsystem.o dl.o macro.o
  14.  
  15. mshell: $(OBJS)
  16.     cc $(CFLAGS) $(OBJS) -lcurses -ltermcap -o mshell
  17.  
  18. $(OBJS) : mshell.h
  19.  
  20. clean:
  21.     rm *.o mshell
  22.