summaryrefslogtreecommitdiff
path: root/libc/misc/time
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/time')
-rw-r--r--libc/misc/time/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/libc/misc/time/Makefile b/libc/misc/time/Makefile
index 2247b2b92..236a160bf 100644
--- a/libc/misc/time/Makefile
+++ b/libc/misc/time/Makefile
@@ -50,12 +50,12 @@ COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(COBJS) $(MOBJ) $(MOBJx)
-all: $(OBJS) $(LIBC)
+OBJ_LIST=../../obj.misc.time
-$(LIBC): ar-target
+all: $(OBJ_LIST)
-ar-target: $(OBJS)
- $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+$(OBJ_LIST): $(OBJS)
+ echo $(patsubst %, misc/time/%, $(OBJS)) > $(OBJ_LIST)
$(MOBJ): $(MSRC)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
@@ -71,4 +71,3 @@ $(COBJS): %.o : %.c
clean:
$(RM) *.[oa] *~ core
-