From: Daniel Carl Date: Fri, 2 Jun 2017 22:48:27 +0000 (+0200) Subject: Don't recompile all objects in scripts change. X-Git-Url: https://git.owens.tech/dummy.html/dummy.html/git?a=commitdiff_plain;h=d7e4edcb9f2aa343a7de5210eca24cfd51da1758;p=vimb.git Don't recompile all objects in scripts change. --- 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)