From 89f658862addac075bb85db663e7d50807d802bb Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Mon, 25 Mar 2013 11:53:55 +0000 Subject: [PATCH] [build] add features target --- Makefile.in | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 25bcb18..bab5c5b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -94,9 +94,9 @@ test-programs: $(TEST_PROGRAMS) %.d: %.cc @echo " [DEP] $<" - $(V)$(CXX) -MM -MT $(subst .cc,.o,$<) $(INCLUDES) $(CXXFLAGS) $< > $@.$$$$;\ - $(V)sed 's,\([^ :]*\)\.o[ :]*,\1.o $@ : Makefile ,g' < $@.$$$$ > $@; \ - $(V)$(RM) $@.$$$$ + $(CXX) -MM -MT $(subst .cc,.o,$<) $(INCLUDES) $(CXXFLAGS) $< > $@.$$$$;\ + sed 's,\([^ :]*\)\.o[ :]*,\1.o $@ : Makefile ,g' < $@.$$$$ > $@; \ + $(RM) $@.$$$$ %.o: %.cc @echo " [CXX] $<" @@ -199,3 +199,9 @@ endif -include $(subst .cc,.d,$(TEST_SOURCE)) -include $(subst .cc,.d,$(PROGRAM_SOURCE)) +.PHONEY: features + +features: thin_check cache_check + cucumber --no-color --format progress + +test: features unit-test \ No newline at end of file