]> git.sur5r.net Git - openldap/commitdiff
Tweak version.c dependencies
authorHoward Chu <hyc@openldap.org>
Fri, 28 Mar 2003 19:39:10 +0000 (19:39 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 28 Mar 2003 19:39:10 +0000 (19:39 +0000)
build/mod.mk

index f8778179f6cd2070f0ee69672b80a65e8a019c22..ee4797a825e7d88de734c02a66d40dbd67112a7e 100644 (file)
@@ -22,10 +22,12 @@ all-no lint-no 5lint-no depend-no install-no: FORCE
 
 all-common: all-$(BUILD_MOD)
 
-version.c: $(OBJS)
+version.c: Makefile
        $(RM) $@
        $(MKVERSION) $(LIBBASE) > $@
 
+version.o: version.c $(OBJS)
+
 $(LIBRARY): version.lo
        $(LTLINK_MOD) -module -o $@ $(OBJS) version.lo $(LINK_LIBS)