summaryrefslogtreecommitdiff
path: root/fast/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fast/test/Makefile')
-rw-r--r--fast/test/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/fast/test/Makefile b/fast/test/Makefile
new file mode 100644
index 0000000..3e01dc5
--- /dev/null
+++ b/fast/test/Makefile
@@ -0,0 +1,13 @@
+COMPILER=clang
+CFLAGS=-std=c++11 -O3
+
+
+test_grammar: test_grammar.cc ../grammar.o
+ $(COMPILER) $(CFLAGS) ../grammar.o test_grammar.cc
+
+test_sparse_vector: test_sparse_vector.cc
+ $(COMPILER) $(CFLAGS) -lm test_sparse_vector.cc
+
+clean:
+ rm -f test_grammar test_sparse_vector
+