new .h files: hacklib.h selvar.h stairs.h
new .c files: calendar.c, getpos.c, report.c, selvar.c, stairs.c,
strutil.c, wizcmds.c
cleanup of hacklib.c and mdlib.c
hacklib contains functions that do not have to link with the core
relocate wiz commands from cmd.c to wizcmds.c
relocate CRASHREPORT stuff to report.c
relocate getpos stuff from do_name.c to getpos.c
remove temporary struct definition from extern.h
cross-compile PRE-section split into cross-pre1.370 and cross-pre2.370
Windows sys/windows/Makefile.nmake and sys/windows/Makefile.mingw32 and
visual studio project file updates
Unix sys/unix/Makefile.src, sys/unix/Makefile.utl
populate selvar.c and selvar.h
build on MS-DOS (not cross-compile) Makefile updates
for sys/msdos/Makefile.GCC (untested)
vms updates for above (untested)
50 lines
1.0 KiB
Plaintext
50 lines
1.0 KiB
Plaintext
#===============-=================================================
|
|
# NetHack 3.7 include/cross-pre1. $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-3.7 $
|
|
#
|
|
# Cross-compiling -PRE section 1
|
|
#
|
|
|
|
ifdef CROSS_TO_MSDOS
|
|
CROSS=1
|
|
BUILD_TARGET_LUA=1
|
|
BUILD_PDCURSES=1
|
|
CROSS_SHARED=1
|
|
override TARGET = msdos
|
|
override TARGETDIR=../targets/$(TARGET)
|
|
override TARGETPFX = $(TARGETDIR)/
|
|
override TARGET_LIBS=
|
|
endif
|
|
|
|
ifdef CROSS_TO_WASM
|
|
CROSS=1
|
|
BUILD_TARGET_LUA=1
|
|
HACKDIR=/
|
|
PREFIX=
|
|
override TARGET = wasm
|
|
override TARGETDIR=../targets/$(TARGET)
|
|
override TARGETPFX = $(TARGETDIR)/
|
|
override TARGET_LIBS=
|
|
endif
|
|
|
|
ifdef CROSS_TO_MIPS
|
|
CROSS=1
|
|
BUILD_TARGET_LUA=1
|
|
BUILD_TARGET_NCURSES=1
|
|
HACKDIR=/
|
|
PREFIX=
|
|
override TARGET = mips
|
|
override TARGETDIR=../targets/$(TARGET)
|
|
override TARGETPFX = $(TARGETDIR)/
|
|
override TARGET_LIBS=
|
|
endif
|
|
|
|
ifdef CROSS
|
|
override PREGAME=
|
|
override BUILDMORE=
|
|
override CLEANMORE=
|
|
override PACKAGE=
|
|
endif
|
|
# End of cross-compiling -PRE section 1
|
|
#===============-=================================================
|
|
|