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

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