From 2132ab1bd56761881a2a75ae999922f8225543c7 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 16 Sep 2015 22:55:15 +0200 Subject: [PATCH] Let make test also run the test, like in the automake world. Signed-off-by: Joachim Nilsson --- .travis.yml | 1 - Makefile | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f45bbc8..41ed356 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,4 +25,3 @@ script: - make distclean - make -j5 - make test - - ./examples/test diff --git a/Makefile b/Makefile index 270320c..16072b8 100644 --- a/Makefile +++ b/Makefile @@ -126,8 +126,9 @@ bench: Makefile $(STATICLIB) examples: all @$(MAKE) -C examples -test joystick: +test joystick: all @$(MAKE) -C examples $@ + @./examples/$@ # Runs Clang scan-build on the whole tree check: clean