summaryrefslogtreecommitdiff
path: root/libc/stdio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/Makefile')
-rw-r--r--libc/stdio/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/libc/stdio/Makefile b/libc/stdio/Makefile
index 6955ed87f..2061a745d 100644
--- a/libc/stdio/Makefile
+++ b/libc/stdio/Makefile
@@ -50,14 +50,21 @@ ar-target: $(OBJS)
$(MOBJ): $(MSRC)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
$(MOBJ2): $(MSRC2)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
$(MOBJ3): $(MSRC3)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
-$(OBJS): Makefile
+$(COBJS):
+ $(CC) $(CFLAGS) $< -c $*.c -o $*.o
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
+
+$(OBJ): Makefile
clean:
rm -f *.[oa] *~ core