summaryrefslogtreecommitdiff
path: root/mk/atomic_compare_exchange_weak.d
blob: 78ac5fafe1d6faffb40deb958c27eae13cd2e66f (plain)
1
2
3
4
5
6
7
8
9
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:
	@echo "  [CC] $@"
	@mkdir -p $(@D)
	@$(CC) -c -o $@ $(CFLAGS) src/stdatomic/atomic_compare_exchange_weak.c