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

$(OBJDIR)/semctl.o: src/sys/sem/semctl.c
$(OBJDIR)/semctl.o:
	@mkdir -p $(@D)
	$(CC) -c -o $@ $(CFLAGS) src/sys/sem/semctl.c