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

$(OBJDIR)/seekdir.o: src/dirent/seekdir.c
$(OBJDIR)/seekdir.o:
	@echo "  [CC] $@"
	@mkdir -p $(@D)
	@$(CC) -c -o $@ $(CFLAGS) src/dirent/seekdir.c