add seqlock
[cdsspec-compiler.git] / benchmark / Makefile
diff --git a/benchmark/Makefile b/benchmark/Makefile
new file mode 100644 (file)
index 0000000..3980f68
--- /dev/null
@@ -0,0 +1,17 @@
+include ../benchmarks.mk
+
+TESTNAME = main testcase1 testcase2
+
+HEADERS = deque.h
+OBJECTS = deque.o
+
+all: $(TESTNAME)
+
+$(TESTNAME): % : %.c $(OBJECTS)
+       $(CC) -o $@ $^ $(CPPFLAGS) $(LDFLAGS)
+
+%.o: %.c
+       $(CC) -c -o $@ $< $(CPPFLAGS)
+
+clean:
+       rm -f $(TESTNAME) *.o