|
|
|
@ -10,26 +10,26 @@ serial: serial.c
|
|
|
|
|
$(CC) $(CFLAGS) -o serial serial.c
|
|
|
|
|
|
|
|
|
|
mpnc_push mpmc_push upmc_push spinlock_push spinlock_eb_push: push.c
|
|
|
|
|
$(CC) -pthread -DMPNC -D_GNU_SOURCE $(CFLAGS) -o mpnc_push push.c
|
|
|
|
|
$(CC) -pthread -DMPMC -D_GNU_SOURCE $(CFLAGS) -o mpmc_push push.c
|
|
|
|
|
$(CC) -pthread -DUPMC -D_GNU_SOURCE $(CFLAGS) -o upmc_push push.c
|
|
|
|
|
$(CC) -pthread -DSPINLOCK -D_GNU_SOURCE $(CFLAGS) -o spinlock_push push.c
|
|
|
|
|
$(CC) -pthread -DSPINLOCK -DEB -D_GNU_SOURCE $(CFLAGS) -o spinlock_eb_push push.c
|
|
|
|
|
$(CC) -DMPNC $(CFLAGS) -o mpnc_push push.c
|
|
|
|
|
$(CC) -DMPMC $(CFLAGS) -o mpmc_push push.c
|
|
|
|
|
$(CC) -DUPMC $(CFLAGS) -o upmc_push push.c
|
|
|
|
|
$(CC) -DSPINLOCK $(CFLAGS) -o spinlock_push push.c
|
|
|
|
|
$(CC) -DSPINLOCK -DEB $(CFLAGS) -o spinlock_eb_push push.c
|
|
|
|
|
|
|
|
|
|
mpmc_pop upmc_pop spinlock_pop spinlock_eb_pop: pop.c
|
|
|
|
|
$(CC) -pthread -DMPMC -D_GNU_SOURCE $(CFLAGS) -o mpmc_pop pop.c
|
|
|
|
|
$(CC) -pthread -DUPMC -D_GNU_SOURCE $(CFLAGS) -o upmc_pop pop.c
|
|
|
|
|
$(CC) -pthread -DSPINLOCK -D_GNU_SOURCE $(CFLAGS) -o spinlock_pop pop.c
|
|
|
|
|
$(CC) -pthread -DEB -DSPINLOCK -D_GNU_SOURCE $(CFLAGS) -o spinlock_eb_pop pop.c
|
|
|
|
|
$(CC) -pthread -DMPMC $(CFLAGS) -o mpmc_pop pop.c
|
|
|
|
|
$(CC) -pthread -DUPMC $(CFLAGS) -o upmc_pop pop.c
|
|
|
|
|
$(CC) -pthread -DSPINLOCK $(CFLAGS) -o spinlock_pop pop.c
|
|
|
|
|
$(CC) -pthread -DEB -DSPINLOCK $(CFLAGS) -o spinlock_eb_pop pop.c
|
|
|
|
|
|
|
|
|
|
mpmc_pair spinlock_pair spinlock_eb_pair pthreads_pair: pair.c
|
|
|
|
|
$(CC) -pthread -DMPMC -D_GNU_SOURCE $(CFLAGS) -o mpmc_pair pair.c
|
|
|
|
|
$(CC) -pthread -DSPINLOCK -D_GNU_SOURCE $(CFLAGS) -o spinlock_pair pair.c
|
|
|
|
|
$(CC) -pthread -DEB -DSPINLOCK -D_GNU_SOURCE $(CFLAGS) -o spinlock_eb_pair pair.c
|
|
|
|
|
$(CC) -pthread -DPTHREADS -D_GNU_SOURCE $(CFLAGS) -o pthreads_pair pair.c
|
|
|
|
|
$(CC) -pthread -DMPMC $(CFLAGS) -o mpmc_pair pair.c
|
|
|
|
|
$(CC) -pthread -DSPINLOCK $(CFLAGS) -o spinlock_pair pair.c
|
|
|
|
|
$(CC) -pthread -DEB -DSPINLOCK $(CFLAGS) -o spinlock_eb_pair pair.c
|
|
|
|
|
$(CC) -pthread -DPTHREADS $(CFLAGS) -o pthreads_pair pair.c
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
rm -rf *~ *.o *.dSYM $(OBJECTS)
|
|
|
|
|
|
|
|
|
|
include ../../../build/regressions.build
|
|
|
|
|
CFLAGS+=-pthread
|
|
|
|
|
CFLAGS+=-pthread -D_GNU_SOURCE
|
|
|
|
|