GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - UnNetHack/nethack-plain-makefile: Building NetHack with a single Makefile

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
GNUmakefile
GNUmakefile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

NetHack – Plain Makefile Build

A single, self-contained GNUmakefile for building NetHack with GNU make, designed to be placed into a full NetHack source tree.

Prerequisites

  • C compiler (GCC or Clang)
  • pkg-config
  • GNU make
  • ncurses development package with Unicode support (e.g. libncursesw*-dev on Debian/Ubuntu, ncurses-devel on Fedora/openSUSE, ncurses on Arch Linux)
  • git (to fetch Lua automatically at build time)

Usage

  1. Copy the GNUmakefile into the root directory of a full NetHack source tree.
  2. Run make.
  3. make install installs to build/.
  4. start nethack with cd build ; ./nethack.
make            # compiles src/nethack, util/recover, dat/nhdat, etc.
make install    # installs to build/
make clean      # removes build artifacts
make cleandeps  # also removes dependency files

macOS

Install dependencies via Homebrew:

brew install gmake pkg-config ncurses

The system ncurses lacks Unicode support; setting PKG_CONFIG_PATH tells pkg-config where to find Homebrew's ncurses installation:

export PKG_CONFIG_PATH="$(brew --prefix ncurses)/lib/pkgconfig"
gmake
gmake install

License

This build system is licensed under the MIT license.

About

Building NetHack with a single Makefile

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.