ref<T>::ref() now initializes to nullptr. Improve boolean comparisons for ref.
[zcpointer.git] / Makefile
1 CXX := clang++
2 CXXFLAGS := -g -std=c++11
3
4 FILES := test.cc zcpointer.cc
5
6 all: test-zc test-tr
7
8 test-zc: $(FILES) zcpointer.h
9 $(CXX) $(CXXFLAGS) $(FILES) -o $@
10
11 test-tr: $(FILES) zcpointer.h
12 $(CXX) -DZCPOINTER_TRACK_REFS=1 $(CXXFLAGS) $(FILES) -o $@
13
14 clean:
15 rm -rf test-zc test-tr *.dSYM