summaryrefslogtreecommitdiff
path: root/libutil/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libutil/Makefile')
-rw-r--r--libutil/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/libutil/Makefile b/libutil/Makefile
index 59176c903..8affcfde2 100644
--- a/libutil/Makefile
+++ b/libutil/Makefile
@@ -23,7 +23,6 @@
TOPDIR=../
include $(TOPDIR)Rules.mak
-LIBC=$(TOPDIR)libc.a
CFLAGS+=$(SSP_ALL_CFLAGS)
@@ -37,11 +36,9 @@ ifeq ($(strip $(ARCH_HAS_MMU)),y)
endif
OBJS=$(patsubst %.c,%.o, $(CSRC))
-all: $(OBJS) $(LIBC)
+all: $(LIBUTIL)
-$(LIBC): ar-target
-
-ar-target: $(OBJS)
+$(LIBUTIL) ar-target: $(OBJS)
$(AR) $(ARFLAGS) $(LIBUTIL) $(OBJS)
$(INSTALL) -d $(TOPDIR)lib
$(RM) $(TOPDIR)lib/$(LIBUTIL)