From: PatR Date: Thu, 12 Nov 2015 07:46:19 +0000 (-0800) Subject: make depend X-Git-Tag: NetHack-3.6.0_RC01~54^2~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef2a6e6f1bacf627a4aef4511b815be04a5916a4;p=nethack make depend dungeon.o depending on lev.h is the only change found by 'make depend'. (I'm a bit suspicious about that.) I haven't attempted to reconcile the vms Makefiles with the Unix ones, just put in this one new dependency. I know vms/Makefile.src lacks handling for sys/share/*regex.c and vms/Makefile.top and install.com both lack handling for 'sysconf'. --- diff --git a/sys/unix/Makefile.src b/sys/unix/Makefile.src index 3a9365ba4..16d087472 100644 --- a/sys/unix/Makefile.src +++ b/sys/unix/Makefile.src @@ -1,5 +1,5 @@ # NetHack Makefile. -# NetHack 3.6 Makefile.src $NHDT-Date: 1434446945 2015/06/16 09:29:05 $ $NHDT-Branch: master $:$NHDT-Revision: 1.44 $ +# NetHack 3.6 Makefile.src $NHDT-Date: 1447313972 2015/11/12 07:39:32 $ $NHDT-Branch: master $:$NHDT-Revision: 1.45 $ # Root of source tree: NHSROOT=.. @@ -750,7 +750,8 @@ dogmove.o: dogmove.c $(HACK_H) ../include/mfndpos.h dokick.o: dokick.c $(HACK_H) dothrow.o: dothrow.c $(HACK_H) drawing.o: drawing.c $(HACK_H) ../include/tcap.h -dungeon.o: dungeon.c $(HACK_H) ../include/dgn_file.h ../include/dlb.h +dungeon.o: dungeon.c $(HACK_H) ../include/dgn_file.h ../include/dlb.h \ + ../include/lev.h eat.o: eat.c $(HACK_H) end.o: end.c $(HACK_H) ../include/lev.h ../include/dlb.h engrave.o: engrave.c $(HACK_H) ../include/lev.h diff --git a/sys/vms/Makefile.src b/sys/vms/Makefile.src index 6995b0359..8274024c7 100644 --- a/sys/vms/Makefile.src +++ b/sys/vms/Makefile.src @@ -1,5 +1,5 @@ # NetHack Makefile (VMS) - for building nethack itself. -# NetHack 3.6 Makefile.src $NHDT-Date: 1432512790 2015/05/25 00:13:10 $ $NHDT-Branch: master $:$NHDT-Revision: 1.26 $ +# NetHack 3.6 Makefile.src $NHDT-Date: 1447314365 2015/11/12 07:46:05 $ $NHDT-Branch: master $:$NHDT-Revision: 1.27 $ # Copy this file to [.src]Makefile. and then edit it as needed. # The default configuration is for building with DEC C (aka Compaq C). @@ -392,7 +392,7 @@ dogmove.obj : dogmove.c $(HACK_H) $(INC)mfndpos.h dokick.obj : dokick.c $(HACK_H) dothrow.obj : dothrow.c $(HACK_H) drawing.obj : drawing.c $(HACK_H) $(INC)tcap.h -dungeon.obj : dungeon.c $(HACK_H) $(INC)dgn_file.h $(INC)dlb.h +dungeon.obj : dungeon.c $(HACK_H) $(INC)dgn_file.h $(INC)dlb.h $(INC)lev.h eat.obj : eat.c $(HACK_H) end.obj : end.c $(HACK_H) $(INC)lev.h $(INC)dlb.h engrave.obj : engrave.c $(HACK_H) $(INC)lev.h