From 630e301e76a98d098dce921bd4763924974127c6 Mon Sep 17 00:00:00 2001 From: fooinha Date: Thu, 18 Dec 2014 16:48:42 +0000 Subject: [PATCH] Remove test- prefix from examples make targets --- Makefile | 2 -- example/Makefile | 12 ++++++------ 2 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index 02355874..00000000 --- a/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -%: - make -C example $@ diff --git a/example/Makefile b/example/Makefile index 1ded75f6..42795358 100644 --- a/example/Makefile +++ b/example/Makefile @@ -4,20 +4,20 @@ CXX_RELEASE_FLAGS = -O3 -flto CXX_DEBUG_FLAGS= -g -all: test-example test-bench -debug: test-example-debug test-bench-debug +all: example bench +debug: example-debug bench-debug -test-example: example.cpp +example: example.cpp $(CXX) example.cpp -o example $(CXXFLAGS) $(CXX_RELEASE_FLAGS) -test-bench: bench.cpp +bench: bench.cpp $(CXX) bench.cpp -o bench $(CXXFLAGS) $(CXX_RELEASE_FLAGS) -test-example-debug: example.cpp +example-debug: example.cpp $(CXX) example.cpp -o example-debug $(CXXFLAGS) $(CXX_DEBUG_FLAGS) -test-bench-debug: bench.cpp +bench-debug: bench.cpp $(CXX) bench.cpp -o bench-debug $(CXXFLAGS) $(CXX_DEBUG_FLAGS)