Compiling with NO_TILE_C defined results in preventing USE_TILES from being defined and that causes display.c to use alternate code. Construct src/tile.c such that nethack links successfully if the configuration specifies NO_TILE_C but the Makefile goes ahead and builds tile.c, compiles it, and links with it, otherwise it conflicts with that alternate code. Prior to this, linking gave two complaints about duplicate symbols and failed.
56 KiB
56 KiB