]> granicus.if.org Git - nethack/commitdiff
Makefile.utl bit
authorkeni <keni>
Thu, 29 Apr 2010 19:20:52 +0000 (19:20 +0000)
committerkeni <keni>
Thu, 29 Apr 2010 19:20:52 +0000 (19:20 +0000)
change the way makedefs doesn't depend on mdgrep.h so running mdgrep.pl
_will_ cause makedefs to get rebuilt.
Keni

sys/unix/Makefile.utl

index 185d4d20bffb450b3aa12cb68870e69a975a8809..40a8d5485a3b006a65659b6e9b1e368bc03c9817 100644 (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