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

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