summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-06-25 13:20:38 -0400
committerArtem Bityutskiy <dedekind1@gmail.com>2011-06-27 09:07:33 +0300
commitfdb28b9abed0f1a573168dba565f2d57e322158f (patch)
tree9a04eaf2a7a07c659502974bc6511cf2c26542a1 /common.mk
parent3285a49dd871d54c1ec13076173ad617443baae1 (diff)
autogenerate version.h from build system
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index d0e207d..ba87377 100644
--- a/common.mk
+++ b/common.mk
@@ -75,7 +75,7 @@ $(BUILDDIR)/%.a:
$(Q)$(AR) cr $@ $^
$(Q)$(RANLIB) $@
-$(BUILDDIR)/%.o: %.c
+$(BUILDDIR)/%.o: %.c $(OBJDEPS)
ifneq ($(BUILDDIR),$(CURDIR))
$(Q)mkdir -p $(dir $@)
endif