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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user