mpmc-queue: expand to 2R2W, 2R1W, 1R2W tests
[model-checker-benchmarks.git] / mpmc-queue / Makefile
index 07e2540..6636fcd 100644 (file)
@@ -1,10 +1,11 @@
 include ../benchmarks.mk
 
 TESTNAME = mpmc-queue
+TESTS = mpmc-queue mpmc-1r2w mpmc-2r1w
 
-all: $(TESTNAME)
+all: $(TESTS)
 
-$(TESTNAME): $(TESTNAME).cc $(TESTNAME).h
+%: %.cc $(TESTNAME).h
        $(CXX) -o $@ $< $(CPPFLAGS) $(LDFLAGS)
 
 clean: