diff options
Diffstat (limited to 'mk/bsearch.d')
| -rw-r--r-- | mk/bsearch.d | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mk/bsearch.d b/mk/bsearch.d new file mode 100644 index 00000000..7892e5c5 --- /dev/null +++ b/mk/bsearch.d @@ -0,0 +1,9 @@ +libc_C.1: libc.a(bsearch.o) +libc.a(bsearch.o): $(OBJDIR)/bsearch.o + @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% + +$(OBJDIR)/bsearch.o: src/stdlib/bsearch.c +$(OBJDIR)/bsearch.o: + @echo " [CC] $@" + @mkdir -p $(@D) + @$(CC) -c -o $@ $(CFLAGS) src/stdlib/bsearch.c |
