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

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