summaryrefslogtreecommitdiff
path: root/mk/qsort.d
blob: cdec9ffef5cb6904850ec2d7bb2520ad7ef3c8f9 (plain)
1
2
3
4
5
6
7
8
9
10
libc_C.1: libc.a(qsort.o)
libc.a(qsort.o): $(OBJDIR)/qsort.o
	@$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%

$(OBJDIR)/qsort.o: src/stdlib/qsort.c
$(OBJDIR)/qsort.o: src/stdlib/_qsort.h
$(OBJDIR)/qsort.o:
	@echo "  [CC] $@"
	@mkdir -p $(@D)
	@$(CC) -c -o $@ $(CFLAGS) src/stdlib/qsort.c