From 3b6c3cc5b4999337285910801cf111a45a09616d Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Fri, 16 Sep 2005 13:48:22 +0200 Subject: [PATCH] Fix dependencies tracking and default clean rule. --- Makefile.lib | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.lib b/Makefile.lib index ce6f9da5..f1febf50 100644 --- a/Makefile.lib +++ b/Makefile.lib @@ -43,7 +43,7 @@ DEP_FILES = $(DEP_FILES_1:%.o=%.P) DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -ifdef $(OBJS) +ifdef OBJS -include $(DEP_FILES) endif @@ -58,7 +58,7 @@ endif %.a: $(call cmd,archive) -ifdef $(OBJS) +ifdef OBJS clean-l: rm -f $(OBJS) *.a endif