summaryrefslogtreecommitdiff
path: root/libnsl
diff options
context:
space:
mode:
Diffstat (limited to 'libnsl')
-rw-r--r--libnsl/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/libnsl/Makefile b/libnsl/Makefile
index 915651063..3550d0c23 100644
--- a/libnsl/Makefile
+++ b/libnsl/Makefile
@@ -28,11 +28,9 @@ LIBNSL_SHARED_FULLNAME=libnsl-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so
CSRC = nsl.c
OBJS=$(patsubst %.c,%.o, $(CSRC))
-all: $(OBJS) $(LIBNSL)
+all: $(LIBNSL)
-$(LIBNSL): ar-target
-
-ar-target: $(OBJS)
+$(LIBNSL) ar-target: $(OBJS)
$(AR) $(ARFLAGS) $(LIBNSL) $(OBJS)
$(INSTALL) -d $(TOPDIR)lib
$(RM) $(TOPDIR)lib/$(LIBNSL)