# Configuration options # This is the directory where the larn files will be installed. LARNHOME = /u/kimery/larn BINDIR = /u/kimery/bin # # Available compile time options: # WIZZARD - allows for a WIZARD to use the special DEBUG mode # WIZID=xxx - this is the userid of the WIZARD. Default is zero (superuser) # This is required to clear the scoreboard as well as for WIZARD # EXTRA - incorporates code to gather additional statistics # TIMECHECK - incorporates code to disable play during working hours # SYSV - use system III/V (instead of V7) type ioctl calls # BSD - use BSD specific features (mostly timer and signal stuff) # HIDEBYLINK - if defined, the program attempts to hide from ps # DOCHECKPOINTS - if defined, checkpoints files are periodically written # this is handy on an unreliable system, but takes CPU # BIGCURSOR - This may speed up execution on machines where memory is cheap # SAVEINHOME - put save files in users HOME instead of LARNHOME OPTIONS = -DWIZZARD -DWIZID=216 -DEXTRA -DBSD -DBIGCURSOR -DSAVEINHOME # if running a Unisoft 68000 system V, use assembly language assist # SOBJS= savelevel.o strlen.o strcpy.o lprcatstr.o # use these for portable operation instead of above SOBJS= savelev.o lprcat.o # End of configurable make options ######################################################################## # OBJS= main.o object.o create.o tok.o display.o global.o data.o termio.o\ fileio.o monster.o store.o diag.o help.o config.o nap.o bill.o scores.o\ signal.o altar.o fountain.o movem.o throne.o chest.o cursor.o regen.o\ fortune.o strcpy.o DOTFILES= .larn.help .larnmaze .larnopts .lfortune\ .mail601 .mail602 .mail603 .mail604 .mail605 FLAGS= -O $(OPTIONS) -DLARNHOME=\"$(LARNHOME)/\" larn: larn11.0 larn11.0: $(OBJS) $(SOBJS) cc -o larn11.0 $(FLAGS) $(OBJS) $(SOBJS) all: larn install .c.o: $< cc -c $(FLAGS) $< $(OBJS): header.h install: # if test ! -d $(LARNHOME) ; then mkdir $(LARNHOME); fi -chmod a+w $(LARNHOME) cp larn11.0 $(BINDIR)/larn cp $(DOTFILES) $(LARNHOME)