Add MAXPLAYERS to SYSCF config file; deprecate (but continue to support) MAX_NR_OF_PLAYERS in nethack.sh since it is trivially overridden in many (all?) cases and isn't useful for ports that don't use nethack.sh.
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
#
|
|
# SCCS Id: @(#)macosx 3.5 2007/12/12
|
|
# Copyright (c) Kenneth Lorber, Kensington, Maryland, 2007.
|
|
# NetHack may be freely redistributed. See license for details.
|
|
#
|
|
# Mac OS X (Darwin) hints file
|
|
# This is for Mac OS X 10.4.10 (Darwin 8.10). If this doesn't work for some
|
|
# other version of either Darwin or Mac OS X, make a new file for that OS,
|
|
# don't change this one.
|
|
# Useful info: http://www.opensource.apple.com/darwinsource/index.html
|
|
|
|
# This is a tty build for a single user.
|
|
|
|
PREFIX:=$(wildcard ~)
|
|
SHELLDIR=$(PREFIX)/bin
|
|
HACKDIR=$(PREFIX)/nethackdir
|
|
|
|
CC=gcc -W -Wimplicit -Wreturn-type -Wunused -Wformat -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -DGCC_WARN
|
|
|
|
# XXX -g vs -O should go here, -I../include goes in the makefile
|
|
CFLAGS=-g -I../include $(CFLAGS2) $(CFLAGS3)
|
|
CFLAGS2=-DNOCLIPPING -DNOMAIL -DNOTPARMDECL -DHACKDIR=\"$(HACKDIR)\"
|
|
CFLAGS3=-DSYSCF -DSYSCF_FILE=\"$(HACKDIR)/sysconf\" -DSECURE
|
|
|
|
WINSRC = $(WINTTYSRC)
|
|
WINOBJ = $(WINTTYOBJ)
|
|
WINLIB = $(WINTTYLIB)
|
|
|
|
WINTTYLIB=-lncurses
|
|
|
|
CHOWN=true
|
|
CHGRP=true
|
|
VARDIRPERM = 0755
|