aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 1a1434a..4a18c71 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,7 +1,10 @@
.PHONY: clean
+CXX ?= g++
+CXXFLAGS ?= -g -O2
+
tester: tester.cc
- g++ -g -O0 -o tester tester.cc
+ $(CXX) $(CXXFLAGS) -o tester tester.cc
all: tester