From 67fcd0d71b36cefeb60f32768ddbd63e30afeda9 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Wed, 27 Aug 2014 14:04:22 +0200 Subject: [PATCH] unittests: Simplify module-wise rebuild --- tests/unittests/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/unittests/Makefile b/tests/unittests/Makefile index b521e83c2b..728c3b5d8c 100644 --- a/tests/unittests/Makefile +++ b/tests/unittests/Makefile @@ -34,7 +34,14 @@ BASELIBS += $(UNIT_TESTS:%=$(BINDIR)%.a) include $(RIOTBASE)/Makefile.include -$(UNIT_TESTS): all +.PHONY: FORCE $(UNIT_TESTS) + +FORCE: + touch $(CURDIR)/main.c + +all: FORCE + +$(UNIT_TESTS): FORCE all charCOMMA := ,