From 36769ea3e42ffc49ed41bf56134ed0985969f7d2 Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Tue, 3 Sep 2013 14:14:48 -0700 Subject: [PATCH] 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. --- arogue5/Makefile.in | 2 +- rogue4/Makefile.in | 2 +- rogue5/Makefile.in | 2 +- srogue/Makefile.in | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arogue5/Makefile.in b/arogue5/Makefile.in index 4da2093..410a51e 100644 --- a/arogue5/Makefile.in +++ b/arogue5/Makefile.in @@ -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) \ diff --git a/rogue4/Makefile.in b/rogue4/Makefile.in index a69d820..16fe569 100644 --- a/rogue4/Makefile.in +++ b/rogue4/Makefile.in @@ -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 \ diff --git a/rogue5/Makefile.in b/rogue5/Makefile.in index ba9a9c1..4ff5741 100644 --- a/rogue5/Makefile.in +++ b/rogue5/Makefile.in @@ -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) \ diff --git a/srogue/Makefile.in b/srogue/Makefile.in index 075bc98..e8c5424 100644 --- a/srogue/Makefile.in +++ b/srogue/Makefile.in @@ -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 \