Add config.h to the list of headers in the Makefiles.
Some .o files need to be rebuilt if config.h changes. Adding it to the list of headers may still fail to solve the problem, because some of the Makefiles use implicit rules or do not list dependencies properly.
This commit is contained in:
parent
e9c1b3c8b9
commit
36769ea3e4
4 changed files with 4 additions and 4 deletions
|
|
@ -30,7 +30,7 @@ docdir=@docdir@
|
|||
|
||||
O=o
|
||||
|
||||
HDRS = rogue.h mach_dep.h network.h
|
||||
HDRS = rogue.h mach_dep.h network.h config.h
|
||||
OBJS1 = chase.$(O) command.$(O) daemon.$(O) daemons.$(O) encumb.$(O) \
|
||||
fight.$(O) init.$(O) io.$(O) list.$(O) main.$(O) maze.$(O) mdport.$(O)\
|
||||
misc.$(O) monsters.$(O) move.$(O) new_level.$(O) options.$(O) \
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ mandir=@mandir@
|
|||
man6dir=$(mandir)/man6
|
||||
docdir=@docdir@
|
||||
|
||||
HDRS= rogue.h extern.h
|
||||
HDRS= rogue.h extern.h config.h
|
||||
DOBJS= vers.o extern.o armor.o chase.o command.o daemon.o daemons.o \
|
||||
fight.o init.o io.o list.o main.o misc.o monsters.o move.o \
|
||||
new_level.o options.o pack.o passages.o potions.o rings.o rip.o \
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ man6dir = $(mandir)/man6
|
|||
# It should not be necessary to change anything below this comment
|
||||
###############################################################################
|
||||
|
||||
HDRS = rogue.h extern.h score.h
|
||||
HDRS = rogue.h extern.h score.h config.h
|
||||
OBJS1 = vers.$(O) extern.$(O) armor.$(O) chase.$(O) command.$(O) \
|
||||
daemon.$(O) daemons.$(O) fight.$(O) init.$(O) io.$(O) list.$(O) \
|
||||
mach_dep.$(O) main.$(O) mdport.$(O) misc.$(O) monsters.$(O) \
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ datarootdir=@datarootdir@
|
|||
bindir=@bindir@
|
||||
docdir=@docdir@
|
||||
|
||||
HDRS= bob.h cx.h ncx.h rdk.h rogue.h
|
||||
HDRS= bob.h cx.h ncx.h rdk.h rogue.h config.h
|
||||
OBJS= vers.o armor.o chase.o command.o daemon.o daemons.o disply.o encumb.o \
|
||||
fight.o global.o init.o io.o list.o main.o mdport.o misc.o monsters.o \
|
||||
move.o new_leve.o options.o pack.o passages.o potions.o pstats.o \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue