[build] add features target

This commit is contained in:
Joe Thornber 2013-03-25 11:53:55 +00:00
parent be7801f111
commit 89f658862a
1 changed files with 9 additions and 3 deletions

View File

@ -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