Difference between revisions of "Makedefs"

From NetHackWiki
Jump to navigation Jump to search
(makedefs generates part of the source code.)
(No difference)

Revision as of 05:45, 18 June 2006

In util/makedefs.c is the source for a program called makedefs. When you build a copy of NetHack, it uses makedefs to generate date.h, onames.h, pm.h, vis_tab.h, and vis_tab.c. This explains why those files are missing from an unbuilt copy of the source code.

In the Unix Makefiles, makedefs is called from the Makefiles in the src and utl directories.