aboutsummaryrefslogtreecommitdiff
path: root/procps/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'procps/Makefile.in')
-rw-r--r--procps/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/procps/Makefile.in b/procps/Makefile.in
index 32314c3c5..69455eb26 100644
--- a/procps/Makefile.in
+++ b/procps/Makefile.in
@@ -4,8 +4,8 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-srcdir=$(top_srcdir)/procps
-objdir=$(top_builddir)/procps
+srcdir:=$(top_srcdir)/procps
+objdir:=$(top_builddir)/procps
PROCPS-$(CONFIG_FREE) += free.o
PROCPS-$(CONFIG_KILL) += kill.o
@@ -25,3 +25,7 @@ APPLET_SRC-a+=$(PROCPS_SRC-a)
procps_OBJ:= $(patsubst %,$(objdir)/%,$(PROCPS-y))
+$(procps_OBJ): $(objdir)/%.o: $(srcdir)/%.c
+$(objdir)/procps.a: $(procps_OBJ)
+libraries-y:=$(libraries-y) $(objdir)/procps.a
+