aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..9848e0c
--- /dev/null
+++ b/makefile
@@ -0,0 +1,19 @@
+CXX = clang++
+CXXFLAGS = -g -O0 -stdlib=libc++ -std=c++11
+
+.PHONY: all clean distclean
+
+all: cells-test dynvars-test
+
+dynvars-test: dynvars-test.cpp dynvars.hpp dynvars-impl.hpp
+ $(CXX) $(CXXFLAGS) dynvars-test.cpp -o dynvars-test
+
+cells-test: cells-test.cpp dynvars.hpp dynvars-impl.hpp cells.hpp cells-impl.hpp
+ $(CXX) $(CXXFLAGS) cells-test.cpp -o cells-test
+
+clean:
+ rm -f dynvars-test cells-test
+ rm -rf dynvars-test.dSYM cells-test.dSYM
+
+distclean: clean
+ rm -f *~