summaryrefslogtreecommitdiff
path: root/mk/atomic_fetch_xor.d
blob: 601cea8380ceec69c9ee2c20a0d69f729d27dbca (plain)
1
2
3
4
5
6
7
8
libc_C.201112: libc.a(atomic_fetch_xor.o)
libc.a(atomic_fetch_xor.o): $(OBJDIR)/atomic_fetch_xor.o
	@$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%

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