Browse code

makefile: libs install-if-newer minor fix

- install-if-newer did re-install the library every time

Andrei Pelinescu-Onciul authored on 01/10/2009 11:47:05
Showing 1 changed files
... ...
@@ -152,9 +152,10 @@ endif
152 152
 
153 153
 
154 154
 .PHONY:install-if-newer
155
-install-if-newer: $(lib_prefix)/$(lib_dir)/$(LIB_RUNTIME_NAME) 
155
+install-if-newer: $(lib_prefix)/$(lib_dir)/$(LIB_RUNTIME_NAME)
156 156
 
157
-$(lib_prefix)/$(lib_dir)/$(LIB_RUNTIME_NAME): $(LIB_NAME) $(LIBINAME_F) install
157
+$(lib_prefix)/$(lib_dir)/$(LIB_RUNTIME_NAME): $(LIB_NAME) $(LIBINAME_F)
158
+	@$(MAKE) install
158 159
 
159 160
 
160 161
 ifneq ($(strip $(LIBINAME_F)),)