aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-12-09 09:34:27 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2012-12-09 09:34:27 +0100
commit53de92ca887e4386d8d6acb462be4e4a7978a90b (patch)
tree663907e7bada79c3c973b5ecefcce6ea52fa3561 /makefile
Initial check-in.
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 *~