From: Oliver Schmidt
Date: Mon, 29 Apr 2013 14:14:08 +0000 (+0300)
Subject: Replace only actually changed archive members.
X-Git-Tag: V2.14~47
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f94ac40637086d54f2a5175b748c194531790b53;p=cc65
Replace only actually changed archive members.
---
diff --git a/src/Makefile b/src/Makefile
index ead1387e8..735ddb6d6 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -93,7 +93,7 @@ endef
$(eval $(call OBJS_template,common))
../wrk/common/common.a: $(common_OBJS)
- $(AR) r $@ $^
+ $(AR) r $@ $?
$(foreach prog,$(PROGS),$(eval $(call PROG_template,$(prog))))