Unix Makefile.utl
Build feedback filtered by a script which filters out -Dthis -Wthat: gcc -g -I../include -I../lib/lua-/src -c ../win/share/tilemap.c The second -I is obsolete or else its bogus value would have caused build failure. When removing it, I noticed that there was still quite a bit of obsolete yacc and lex stuff in there. Remove that too.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Makefile for NetHack's utility programs.
|
# Makefile for NetHack's utility programs.
|
||||||
# NetHack 3.6 Makefile.utl $NHDT-Date: 1574646950 2019/11/25 01:55:50 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.44 $
|
# NetHack 3.6 Makefile.utl $NHDT-Date: 1576976264 2019/12/22 00:57:44 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.49 $
|
||||||
# Copyright (c) 2018 by Robert Patrick Rankin
|
# Copyright (c) 2018 by Robert Patrick Rankin
|
||||||
# NetHack may be freely redistributed. See license for details.
|
# NetHack may be freely redistributed. See license for details.
|
||||||
|
|
||||||
@@ -84,7 +84,6 @@ NHSROOT=..
|
|||||||
# LFLAGS = -b i486-linuxaout -L/usr/X11R6/lib
|
# LFLAGS = -b i486-linuxaout -L/usr/X11R6/lib
|
||||||
|
|
||||||
# flags for BeOS using the command line
|
# flags for BeOS using the command line
|
||||||
# remember to uncomment flex and bison below
|
|
||||||
# BeOS on a Mac/BeBox:
|
# BeOS on a Mac/BeBox:
|
||||||
#CC = mwcc
|
#CC = mwcc
|
||||||
#CFLAGS = -I../include
|
#CFLAGS = -I../include
|
||||||
@@ -97,7 +96,7 @@ NHSROOT=..
|
|||||||
#CFLAGS = -O -I../include
|
#CFLAGS = -O -I../include
|
||||||
#LFLAGS =
|
#LFLAGS =
|
||||||
|
|
||||||
CFLAGS += -I../lib/lua-$(LUA_VERSION)/src
|
# -lm required by lua
|
||||||
LFLAGS += -lm
|
LFLAGS += -lm
|
||||||
|
|
||||||
# we specify C preprocessor flags via CFLAGS; files built with default rules
|
# we specify C preprocessor flags via CFLAGS; files built with default rules
|
||||||
@@ -112,23 +111,6 @@ LIBS =
|
|||||||
# otherwise, you can save a little bit of disk space with this:
|
# otherwise, you can save a little bit of disk space with this:
|
||||||
OBJDIR = ../src
|
OBJDIR = ../src
|
||||||
|
|
||||||
# yacc/lex programs to use to generate *_comp.h, *_lex.c, and *_yacc.c.
|
|
||||||
# if, instead of yacc/lex you have bison/flex, comment/uncomment the following.
|
|
||||||
YACC = yacc
|
|
||||||
LEX = lex
|
|
||||||
# YACC = bison -y
|
|
||||||
# YACC = byacc
|
|
||||||
# LEX = flex
|
|
||||||
|
|
||||||
# these are the names of the output files from YACC/LEX. Under MS-DOS
|
|
||||||
# and similar systems, they may differ
|
|
||||||
YTABC = y.tab.c
|
|
||||||
YTABH = y.tab.h
|
|
||||||
LEXYYC = lex.yy.c
|
|
||||||
# YTABC = y_tab.c
|
|
||||||
# YTABH = y_tab.h
|
|
||||||
# LEXYYC = lexyy.c
|
|
||||||
|
|
||||||
# if you change this to 1, feedback while building will omit -Dthis -Wthat
|
# if you change this to 1, feedback while building will omit -Dthis -Wthat
|
||||||
# -Isomewhere so that each file being compiled is listed on one short line;
|
# -Isomewhere so that each file being compiled is listed on one short line;
|
||||||
# it requires support for '$<' in rules with more than one prerequisite
|
# it requires support for '$<' in rules with more than one prerequisite
|
||||||
@@ -204,18 +186,6 @@ RECOVOBJS = recover.o
|
|||||||
# object files for the data librarian
|
# object files for the data librarian
|
||||||
DLBOBJS = dlb_main.o $(OBJDIR)/dlb.o $(OALLOC)
|
DLBOBJS = dlb_main.o $(OBJDIR)/dlb.o $(OALLOC)
|
||||||
|
|
||||||
# flags for creating distribution versions of sys/share/*_lex.c, using
|
|
||||||
# a more portable flex skeleton, which is not included in the distribution.
|
|
||||||
# hopefully keeping this out of the section to be edited will keep too
|
|
||||||
# many people from being confused by it...
|
|
||||||
# FLEXDIST = -L -S../sys/share/flexhack.skl
|
|
||||||
FLEXDIST =
|
|
||||||
#
|
|
||||||
# flags for creating distribution versions of sys/share/*_yacc.c, without
|
|
||||||
# line numbers so patches from version to version are practical
|
|
||||||
# YACCDIST = -l
|
|
||||||
YACCDIST =
|
|
||||||
|
|
||||||
|
|
||||||
# dependencies for makedefs
|
# dependencies for makedefs
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user