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

$(OBJDIR)/lseek.o: src/unistd/lseek.c
$(OBJDIR)/lseek.o: src/_syscall.h
$(OBJDIR)/lseek.o:
	@mkdir -p $(@D)
	$(CC) -c -o $@ $(CFLAGS) src/unistd/lseek.c