summaryrefslogtreecommitdiff
path: root/findutils/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'findutils/Makefile.in')
-rw-r--r--findutils/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/findutils/Makefile.in b/findutils/Makefile.in
index d268f98..7fbf8d4 100644
--- a/findutils/Makefile.in
+++ b/findutils/Makefile.in
@@ -4,8 +4,8 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-srcdir=$(top_srcdir)/findutils
-objdir=$(top_builddir)/findutils
+srcdir:=$(top_srcdir)/findutils
+objdir:=$(top_builddir)/findutils
FINDUTILS-$(CONFIG_FIND) += find.o
FINDUTILS-$(CONFIG_GREP) += grep.o
@@ -18,3 +18,7 @@ APPLET_SRC-a+=$(FINDUTILS_SRC-a)
findutils_OBJ:= $(patsubst %,$(objdir)/%,$(FINDUTILS-y))
+$(findutils_OBJ): $(objdir)/%.o: $(srcdir)/%.c
+$(objdir)/findutils.a: $(findutils_OBJ)
+libraries-y:=$(libraries-y) $(objdir)/findutils.a
+