From 430e386b9e69bf3a71c0e2cc06b7094d53ab6501 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 20 Oct 2000 00:03:55 +0000 Subject: Strip all object files of all non global symbols and .note and .comment, saving a lot of space in the resultant binaries... -Erik --- libc/inet/rpc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc/inet/rpc/Makefile') 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) -- cgit v1.2.3