Makefile.utl bit

change the way makedefs doesn't depend on mdgrep.h so running mdgrep.pl
_will_ cause makedefs to get rebuilt.
Keni
This commit is contained in:
keni
2010-04-29 19:20:52 +00:00
parent 7ffa0780a6
commit 1b8c99d691

View File

@@ -178,7 +178,7 @@ YACCDIST =
# dependencies for makedefs
#
makedefs: $(MAKEOBJS) #mdgrep.h
makedefs: $(MAKEOBJS) mdgrep.h
$(CC) $(LFLAGS) -o makedefs $(MAKEOBJS)
makedefs.o: makedefs.c $(CONFIG_H) ../include/permonst.h \
@@ -187,8 +187,8 @@ makedefs.o: makedefs.c $(CONFIG_H) ../include/permonst.h \
../include/monst.h ../include/you.h ../include/flag.h \
../include/dlb.h ../include/patchlevel.h ../include/qtext.h
# Don't require perl to build; that is why mdgrep.h is commented out above.
mdgrep.h: mdgrep.pl
# Don't require perl to build; that is why mdgrep.h is spelled wrong below.
mdgreph: mdgrep.pl
perl mdgrep.pl
../include/onames.h: makedefs