summaryrefslogtreecommitdiff
path: root/libc/misc/statfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/statfs/Makefile')
-rw-r--r--libc/misc/statfs/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/libc/misc/statfs/Makefile b/libc/misc/statfs/Makefile
index 55c21b8f6..bbb9dd0bc 100644
--- a/libc/misc/statfs/Makefile
+++ b/libc/misc/statfs/Makefile
@@ -30,13 +30,12 @@ endif
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(COBJS)
+OBJ_LIST=../../obj.misc.statfs
-all: $(OBJS) $(LIBC)
+all: $(OBJ_LIST)
-$(LIBC): ar-target
-
-ar-target: $(OBJS)
- $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+$(OBJ_LIST): $(OBJS)
+ echo $(patsubst %, misc/statfs/%, $(OBJS)) > $(OBJ_LIST)
$(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
@@ -44,4 +43,3 @@ $(COBJS): %.o : %.c
clean:
$(RM) *.[oa] *~ core
-