Makefile: add dependency on scripts.h to input.o
authorPatrick Steinhardt <ps@pks.im>
Mon, 18 Jun 2018 06:01:12 +0000 (08:01 +0200)
committerPatrick Steinhardt <ps@pks.im>
Mon, 18 Jun 2018 06:01:12 +0000 (08:01 +0200)
While "input.c" includes "scripts/scripts.h", which is generated
dynamically by the build system, the Makefile does not state a
dependency of "input.c" on "scripts/scripts.h". Add the dependency to
fix broken builds.

src/Makefile

index ba4cb0a..6ca4e5e 100644 (file)
@@ -16,6 +16,8 @@ vimb.so: $(OBJ)
 
 $(OBJ): config.h ../config.mk
 
+input.o: scripts/scripts.h
+
 normal.o: scripts/scripts.h
 
 setting.o: scripts/scripts.h