From ae1d575b00d3aefb1dfbf21e101f1564b5b08c89 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sun, 20 Mar 2011 21:51:53 -0400 Subject: [PATCH] regressions/ck_stack: Remove redundant flags. --- regressions/ck_stack/validate/Makefile | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/regressions/ck_stack/validate/Makefile b/regressions/ck_stack/validate/Makefile index f21dfd6..fca24a7 100644 --- a/regressions/ck_stack/validate/Makefile +++ b/regressions/ck_stack/validate/Makefile @@ -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