towards a benchmark
This commit is contained in:
parent
bbc0f64fa5
commit
5dbdba3c43
4 changed files with 29 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
noinst_PROGRAMS = json json98
|
||||
noinst_PROGRAMS = json json98 json98benchmark
|
||||
TESTS = ./json ./json98
|
||||
|
||||
json_SOURCES = src/JSON.cc src/JSON.h test/JSON_test.cc
|
||||
|
|
@ -9,6 +9,10 @@ json98_SOURCES = src/JSON.cc src/JSON.h test/JSON_test.cc
|
|||
json98_CXXFLAGS = -std=c++98
|
||||
json98_CPPFLAGS = -I$(top_srcdir)/src
|
||||
|
||||
json98benchmark_SOURCES = src/JSON.cc src/JSON.h benchmark/JSON_benchmark.cc
|
||||
json98benchmark_CXXFLAGS = -std=c++98 -O3
|
||||
json98benchmark_CPPFLAGS = -I$(top_srcdir)/src -DNDEBUG
|
||||
|
||||
svn-clean: maintainer-clean
|
||||
rm -fr configure INSTALL aclocal.m4 build-aux depcomp install-sh missing test-driver cover_html *.gcda *.gcno coverage*.info
|
||||
for DIR in $(DIST_SUBDIRS) .; do rm -f $$DIR/Makefile.in; done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue