diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-03-20 00:34:37 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-03-20 00:34:37 -0700 |
commit | d1aad862d65dd057b8acf3ca5b82301bc02690d2 (patch) | |
tree | c8e2c96ab296d3a53c890daefa2d32b13b90b7b0 /Makefile | |
parent | 5d4f605fd286f461bc5c333c5c6f34b3d32177c8 (diff) |
Makefile refactoring
Simplify test source specification, disable built-in rules and suffixes
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,9 +1,12 @@ +.SUFFIXES: +MAKEFLAGS+=-r + config=debug defines=standard BUILD=build/make-$(CXX)-$(config)-$(defines) -SOURCES=src/pugixml.cpp tests/main.cpp tests/allocator.cpp tests/test.cpp tests/writer_string.cpp $(wildcard tests/test_*.cpp) +SOURCES=src/pugixml.cpp $(filter-out tests/fuzz_%,$(wildcard tests/*.cpp)) EXECUTABLE=$(BUILD)/test CXXFLAGS=-g -Wall -Wextra -Werror -pedantic @@ -56,4 +59,4 @@ $(BUILD)/%.o: % -include $(OBJECTS:.o=.d) -.PHONY: all test clean +.PHONY: all test clean |