patch from Janne: delete old files, update docs, tids
This commit is contained in:
+13
-14
@@ -1,5 +1,5 @@
|
||||
# NetHack Makefile.
|
||||
# SCCS Id: @(#)Makefile.ami 3.2 2000/01/12
|
||||
# SCCS Id: @(#)Makefile.ami 3.4 2002/21/02
|
||||
# Copyright (c) Kenneth Lorber, Bethesda, Maryland, 1991,1992,1993,1996.
|
||||
# NetHack may be freely redistributed. See license for details.
|
||||
|
||||
@@ -131,7 +131,7 @@ OO = $(NH)objo/
|
||||
# of SAS/C, we would comment out these following two lines.
|
||||
# If we don't use precompiled header files, we uncomment it as well.
|
||||
|
||||
HDEP = $(I)hack.h
|
||||
HDEP = $(I)hack.h $(I)pm.h $(I)onames.h
|
||||
CSYM =
|
||||
|
||||
#[MANX]
|
||||
@@ -212,21 +212,22 @@ ASM = asm
|
||||
# undefine this to not compile with GSTs
|
||||
#GST=gst=$(GSTFILE)
|
||||
#
|
||||
#DEBUG=debug=sf
|
||||
OPTFLAGS=opt opttime optpeep optgo optinl optsched optcomp=10 optdep=5 optrdep=5 #optalias +OPTTIME -OPTSIZE
|
||||
CFLAGS = data=far nominc $(DEBUG) idir=$(I) cpu=any nostkchk nover \
|
||||
DEBUG=debug=symbol
|
||||
CPU=cpu=68000
|
||||
#OPTFLAGS=opt opttime optpeep optgo optinl optsched optcomp=10 optdep=5 optrdep=5 #optalias +OPTTIME -OPTSIZE
|
||||
CFLAGS = data=far nominc $(DEBUG) idir=$(I) $(CPU) nostkchk nover \
|
||||
codename=nhcode dataname=nhdata strmerge $(OPTFLAGS) $(TILES) $(SAVEDS) \
|
||||
afp $(ERRREXX) $(GST)
|
||||
# for files that are too large for the standard flags:
|
||||
CFLAGS2 = code=far strmerge $(SAVEDS)
|
||||
WBCFLAGS = ignore=217,62 data=far ansi nminc code=far idir=$(I) cpu=any afp \
|
||||
WBCFLAGS = ignore=217,62 data=far ansi nminc code=far idir=$(I) $(CPU) afp \
|
||||
$(DEBUG) $(ERRREXX) define=AMIGA $(GST)
|
||||
XXX = data=far ansi nminc idir=$(I) cpu=any afp opt optinline optinlocal \
|
||||
XXX = data=far ansi nminc idir=$(I) $(CPU) afp opt optinline optinlocal \
|
||||
optloop opttime
|
||||
WBC2FLAGS = define=CLI
|
||||
SPLFLAGS = define=SPLIT #dollarok
|
||||
#for amistack.c
|
||||
CFLAGS3 = data=near dataname=__MERGED nominc $(DEBUG) idir=$(I) cpu=any nover nostkchk \
|
||||
CFLAGS3 = data=near dataname=__MERGED nominc $(DEBUG) idir=$(I) $(CPU) nover nostkchk \
|
||||
codename=nhcode strmerge $(OPTFLAGS) $(TILES) $(SAVEDS) \
|
||||
afp $(ERRREXX) $(GST)
|
||||
|
||||
@@ -289,7 +290,7 @@ AOBJSPEC = -o
|
||||
|
||||
#[SAS6]
|
||||
|
||||
LINK = slink noicons verbose maxhunk 65536 stripdebug
|
||||
LINK = slink noicons verbose maxhunk 262144 stripdebug
|
||||
LIN = from lib:catch.o
|
||||
LLINK = with $(AMI)ami.lnk
|
||||
LLIB = lib lib:scnb.lib BATCH #lib lib:amiga.lib BATCH #scnb.lib or sc.lib
|
||||
@@ -516,8 +517,7 @@ INSTDUNGEONFILES= $(NETHACK)NetHack.cnf $(INSTDUNGEONFILES1)
|
||||
INSTDATAFILES= \
|
||||
$(NETHACK)license $(NETHACK)logfile $(NETHACK)record \
|
||||
$(NETHACK)tomb.iff $(NETHACK)amii.hlp $(NETHACK)Recover.txt \
|
||||
$(NETHACK)GuideBook.txt $(NETHACK)NetHack.txt $(NETHACK)Install.ami \
|
||||
# $(NETHACK)HackWB.hlp $(NETHACK)WBDefaults.def
|
||||
$(NETHACK)GuideBook.txt $(NETHACK)NetHack.txt $(NETHACK)Install.ami
|
||||
|
||||
LIBFILES= \
|
||||
$(INSTDUNGEONFILES1) \
|
||||
@@ -532,12 +532,10 @@ LIBFILES= \
|
||||
|
||||
#SFD_INSTEAD all: $(SBIN)lev_comp $(SBIN)dgn_comp $(SBIN)NetHack \
|
||||
all: $(COMPACT_HEADERS) $(SBIN)lev_comp $(SBIN)dgn_comp $(SBIN)NetHack \
|
||||
$(SBIN)dlb $(NETHACK)recover #$(NETHACK)HackCli $(SBIN)splitter \
|
||||
# $(NETHACK)HackWB
|
||||
$(SBIN)dlb $(NETHACK)recover
|
||||
|
||||
install: inst-data inst-dungeon inst-fonts inst-sounds inst-tiles \
|
||||
$(NETHACK)recover $(NETHACK)NetHack $(NETHACK)nhdat
|
||||
#$(NETHACK)NetHack.dir inst-icons
|
||||
|
||||
$(SBIN)NetHack: $(HOBJ) $(AMI)ami.lnk
|
||||
$(LINK) $(LNSPEC) $(SBIN)NetHack $(LIN) $(LLINK) $(LLIB)
|
||||
@@ -1678,3 +1676,4 @@ $(I)vault.h: $(I)dungeon.h
|
||||
#notes
|
||||
# install keeps doing re-install because it keeps rebuilding lev_comp???
|
||||
# fixed(?) - deleted setdate
|
||||
# make nhdat rebuils sys/amiga objects
|
||||
|
||||
Reference in New Issue
Block a user