summaryrefslogtreecommitdiff
path: root/librt
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-18 23:30:31 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-18 23:30:31 +0000
commit99e973a956a6d682f3014d1b35a8ff4cb557bd0e (patch)
tree78c158b54c76bfcd4b67c64934a4d41fedb602b0 /librt
parentd1155a7c1e364182e441ead2d7bd3e445cd8f8bb (diff)
rework dependencies so the archive is re-created only when the object files have been updated
Diffstat (limited to 'librt')
-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)