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

$(OBJDIR)/aligned_alloc.o: src/stdlib/aligned_alloc.c
$(OBJDIR)/aligned_alloc.o: src/stdlib/_stdlib.h
$(OBJDIR)/aligned_alloc.o: src/stdlib/_jkmalloc.h
$(OBJDIR)/aligned_alloc.o:
	@mkdir -p $(@D)
	$(CC) -c -o $@ $(CFLAGS) src/stdlib/aligned_alloc.c