summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/Makefile')
-rw-r--r--libc/inet/rpc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/inet/rpc/Makefile b/libc/inet/rpc/Makefile
index dfa68e055..d62851ea9 100644
--- a/libc/inet/rpc/Makefile
+++ b/libc/inet/rpc/Makefile
@@ -39,6 +39,10 @@ COBJS=$(patsubst %.c,%.o, $(CSRC))
all: $(COBJS) $(LIBC)
+$(COBJS):
+ $(CC) $(CFLAGS) $< -c $*.c -o $*.o
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
+
$(LIBC): $(COBJS)
$(AR) $(ARFLAGS) $(LIBC) $(COBJS)