summaryrefslogtreecommitdiff
path: root/librt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'librt/Makefile')
-rw-r--r--librt/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/librt/Makefile b/librt/Makefile
index b84520af3..10b371cb7 100644
--- a/librt/Makefile
+++ b/librt/Makefile
@@ -4,7 +4,6 @@
TOPDIR=../
include $(TOPDIR)Rules.mak
-LIBC=$(TOPDIR)libc.a
LIBRT=librt.a
LIBRT_SHARED=librt.so
@@ -18,11 +17,9 @@ CSRC=mq_open.c mq_close.c mq_unlink.c mq_getsetattr.c \
timer_settime.c timer_gettime.c timer_getoverr.c
OBJS=$(patsubst %.c,%.o, $(CSRC))
-all: $(OBJS) $(LIBC)
+all: $(LIBRT)
-$(LIBC): ar-target
-
-ar-target: $(OBJS)
+$(LIBRT) ar-target: $(OBJS)
$(AR) $(ARFLAGS) $(LIBRT) $(OBJS)
$(INSTALL) -d $(TOPDIR)lib
$(RM) $(TOPDIR)lib/$(LIBRT)