From d7e4edcb9f2aa343a7de5210eca24cfd51da1758 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sat, 3 Jun 2017 00:48:27 +0200 Subject: [PATCH] Don't recompile all objects in scripts change. --- src/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 7f037c6..aa87200 100644 --- a/src/Makefile +++ b/src/Makefile @@ -15,7 +15,11 @@ vimb: $(OBJ) @echo "${CC} $@" $(Q)$(CC) $(OBJ) $(LDFLAGS) -o $@ -$(OBJ): config.h $(BASEDIR)/config.mk scripts/scripts.h +$(OBJ): config.h $(BASEDIR)/config.mk + +normal.o: scripts/scripts.h + +setting.o: scripts/scripts.h -include $(OBJ:.o=.d) -- 2.20.1