summaryrefslogtreecommitdiff
path: root/libc/misc/lsearch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/lsearch/Makefile')
-rw-r--r--libc/misc/lsearch/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/misc/lsearch/Makefile b/libc/misc/lsearch/Makefile
index 5a0fb60a6..8e8fc690a 100644
--- a/libc/misc/lsearch/Makefile
+++ b/libc/misc/lsearch/Makefile
@@ -35,7 +35,9 @@ $(LIBC): ar-target
ar-target: $(OBJS)
$(AR) $(ARFLAGS) $(LIBC) $(OBJS)
-$(OBJS): Makefile
+$(COBJS):
+ $(CC) $(CFLAGS) $< -c $*.c -o $*.o
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
clean:
rm -f *.[oa] *~ core