|
@@ -674,9 +674,8 @@ CFLAGS_clientcert += $(if $(PRIVKEY),-DPRIVATE_KEY="\"$(PRIVKEY_INC)\"")
|
674
|
674
|
# Unfortunately ccache does not detect this dependency and caches
|
675
|
675
|
# builds even when the binary file has changed.
|
676
|
676
|
#
|
677
|
|
-$(BIN)/embedded.o : override CC := env CCACHE_DISABLE=1 $(CC)
|
678
|
|
-
|
679
|
|
-$(BIN)/clientcert.o : override CC := env CCACHE_DISABLE=1 $(CC)
|
|
677
|
+$(BIN)/embedded.% : override CC := env CCACHE_DISABLE=1 $(CC)
|
|
678
|
+$(BIN)/clientcert.% : override CC := env CCACHE_DISABLE=1 $(CC)
|
680
|
679
|
|
681
|
680
|
# Version number
|
682
|
681
|
#
|
|
@@ -686,7 +685,7 @@ CFLAGS_version += -DVERSION_MAJOR=$(VERSION_MAJOR) \
|
686
|
685
|
-DVERSION="\"$(VERSION)\""
|
687
|
686
|
# Make sure the version number gets updated on every git checkout
|
688
|
687
|
ifneq ($(GITVERSION),)
|
689
|
|
-$(BIN)/version.o : ../.git/index
|
|
688
|
+$(BIN)/version.% : ../.git/index
|
690
|
689
|
endif
|
691
|
690
|
|
692
|
691
|
# We automatically generate rules for any file mentioned in AUTO_SRCS
|