mpmc-queue: makefile bugfix
authorBrian Norris <banorris@uci.edu>
Thu, 8 Nov 2012 17:59:50 +0000 (09:59 -0800)
committerBrian Norris <banorris@uci.edu>
Thu, 8 Nov 2012 17:59:50 +0000 (09:59 -0800)
mpmc-queue/Makefile

index 05272db..520fcf9 100644 (file)
@@ -9,7 +9,7 @@ mpmc-queue: CPPFLAGS += -DCONFIG_MPMC_READERS=2 -DCONFIG_MPMC_WRITERS=2
 mpmc-1r2w: CPPFLAGS += -DCONFIG_MPMC_READERS=1 -DCONFIG_MPMC_WRITERS=2
 mpmc-2r1w: CPPFLAGS += -DCONFIG_MPMC_READERS=2 -DCONFIG_MPMC_WRITERS=1
 
-%: $(TESTNAME).cc $(TESTNAME).h
+$(TESTS): $(TESTNAME).cc $(TESTNAME).h
        $(CXX) -o $@ $< $(CPPFLAGS) $(LDFLAGS)
 
 clean: