aboutsummaryrefslogtreecommitdiff
path: root/makefile
blob: 9848e0cfa3f0c34979e5c780b6390096fd1e84eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 *~