summaryrefslogtreecommitdiff
path: root/libc/misc/utmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/utmp/Makefile')
-rw-r--r--libc/misc/utmp/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/misc/utmp/Makefile b/libc/misc/utmp/Makefile
index 7a506a45d..c4cab9e9b 100644
--- a/libc/misc/utmp/Makefile
+++ b/libc/misc/utmp/Makefile
@@ -28,12 +28,12 @@ CSRC=utent.c wtent.c
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(COBJS)
-all: $(LIBC)
+OBJ_LIST=../../obj.misc.utmp
-$(LIBC): ar-target
+all: $(OBJ_LIST)
-ar-target: $(OBJS)
- $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+$(OBJ_LIST): $(OBJS)
+ echo $(patsubst %, misc/utmp/%, $(OBJS)) > $(OBJ_LIST)
$(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@