summaryrefslogtreecommitdiff
path: root/libc/unistd
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd')
-rw-r--r--libc/unistd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/unistd/Makefile b/libc/unistd/Makefile
index a9593c36b..4e5e5fc8a 100644
--- a/libc/unistd/Makefile
+++ b/libc/unistd/Makefile
@@ -37,6 +37,10 @@ $(LIBC): ar-target subdirs
ar-target: $(OBJS)
$(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+$(COBJS):
+ $(CC) $(CFLAGS) $< -c $*.c -o $*.o
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
+
$(OBJ): Makefile
subdirs: $(patsubst %, _dir_%, $(DIRS))