summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-15 20:07:41 -0400
committermidipix <writeonce@midipix.org>2016-05-15 20:41:17 -0400
commit9ece72b999bea984bf704c66c2ab3131ea5da79f (patch)
tree306b338fd2a1bf6cc261643edbdc93b9d71b291c
parentf942a18bf39249bee53f8eee7cba5c7819224a81 (diff)
downloadapimagic-9ece72b999bea984bf704c66c2ab3131ea5da79f.tar.bz2
apimagic-9ece72b999bea984bf704c66c2ab3131ea5da79f.tar.xz
build system: remove generic dependency on version.tag.
Since git-status touches several files (including .git/index), a generic object file dependency on version.tag means that all objects get recompiled whenever git-status is invoked. This patch works around this problem at the cost of ad-hoc dependency rules for specific objects.
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 9f87f7f..962fab4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -95,10 +95,10 @@ include $(PROJECT_DIR)/project/overrides.mk
$(APP_SRCS:%.c=%.o): CFLAGS_STATIC = $(CFLAGS_APP)
-src/%.lo: $(PROJECT_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag version.tag
+src/%.lo: $(PROJECT_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag
$(CC) -c -o $@ $< $(CFLAGS_SHARED)
-src/%.o: $(PROJECT_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag version.tag
+src/%.o: $(PROJECT_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag
$(CC) -c -o $@ $< $(CFLAGS_STATIC)
lib/%$(OS_LIB_SUFFIX)$(VER_XYZ):