]> code.delx.au - gnu-emacs/commitdiff
(lwlib.o): Depend on Makefile.
authorRichard M. Stallman <rms@gnu.org>
Fri, 7 Apr 1995 05:46:47 +0000 (05:46 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 7 Apr 1995 05:46:47 +0000 (05:46 +0000)
lwlib/Makefile.in

index 35c52703bb2fec65b251ef4c1b6f1752fc716851..66b37798089f01c8de4dd6fe1185667ea31ea072 100644 (file)
@@ -48,7 +48,8 @@ liblw.a: $(OBJS)
 #If running ranlib fails, probably there is none.
 #That's ok.  So don't stop the build.
 
-lwlib.o:  $(srcdir)/lwlib.c
+# Depend on Makefile so that we recompile if TOOLKIT_DEFINES changes.
+lwlib.o:  $(srcdir)/lwlib.c  Makefile
        $(CC) -c $(TOOLKIT_DEFINES) $(ALL_CFLAGS) $(srcdir)/lwlib.c
 
 xrdb-cpp.o:  $(srcdir)/xrdb-cpp.c