summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Schodet2016-01-19 10:48:38 +0100
committerNicolas Schodet2019-10-07 00:44:57 +0200
commit453f4f6540ed8df612af94c1c73db962bb75fa7b (patch)
tree545bfb3a09e62a4a2fa49a9e0faf26dadca2b075
parent55585bdb46a4018377e803ef0dde27d83c19538e (diff)
build/tools/test: use obj directory
-rw-r--r--build/tools/test/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/tools/test/Makefile b/build/tools/test/Makefile
index 59bd2da..03ce0e4 100644
--- a/build/tools/test/Makefile
+++ b/build/tools/test/Makefile
@@ -9,8 +9,8 @@ all: $(TESTS:%=test-%)
test-%: Config-% $(MODULES_CONFIG) $(CONFIG_GEN)
expect=$(if $(filter ok,$*),0,1); \
- $(CONFIG_GEN) -p $< -H out-$*/%.hh -T "$(TARGETS)" $(MODULES_CONFIG); \
+ $(CONFIG_GEN) -p $< -H obj/out-$*/%.hh -T "$(TARGETS)" $(MODULES_CONFIG); \
test $$expect -eq $$?
clean:
- rm -rf $(TESTS:%=out-%)
+ rm -rf obj