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

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