If using hints file sys/unix/hints/linux.370 or sys/unix/hints/macOS.370
allow the majority of the boilerplate compile switches to reside in a
compiler response file, instead of on the command line.
Include one of the following on your make command line:
make response=1
or
make resp=1
It can be combined with other make command line options. See
sys/unix/README-hints for further information about those.
The response files that it uses are:
CC (clang or gcc) src/nethack_cc.rsp
CXx (clang++ or g++) src/nethack_cxx.rsp
Note: I think the reduced clutter should actually become the default,
and the override should be noresponse=1 to NOT use it, but I'm
not sure how others feel, so for now, it requires
make resp=1
Feedback on whether that should become the default or not
is welcome.
Tested on Linux with gcc-15 and on Linux with clang-20.
I haven't had a chance to test it on macOS yet.
36 lines
295 B
Plaintext
36 lines
295 B
Plaintext
config.h-t
|
|
hack.h-t
|
|
Qt*.h-t
|
|
monstr.c
|
|
vis_tab.c
|
|
tile.c
|
|
Sysunix
|
|
Sys3B2
|
|
Sysatt
|
|
SysV-AT
|
|
Systos
|
|
SysBe
|
|
nethack
|
|
*.o
|
|
*.tag
|
|
tiles.bmp
|
|
*.moc
|
|
*.lnk
|
|
*.rsp
|
|
graphicschk
|
|
nhdat
|
|
o
|
|
nhdat*
|
|
date.nmk
|
|
tilemappings.lst
|
|
objgui/*
|
|
objtty/*
|
|
objutil/*
|
|
objlua/*
|
|
objpdc/*
|
|
bundle/*
|
|
GNUmakefile
|
|
GNUmakefile.depend
|
|
.*.c
|
|
.depend
|