commit e8ba6c10841ddcbb09f9c0928be78277cb6be262
parent b8d5fd1fc4dbaf623fbaf87be63f64335342e624
Author: Dimitris Papastamos <dimitris.papastamos@arm.com>
Date: Tue, 16 Apr 2019 10:53:20 +0100
Merge "Simplify the Makefile"
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
@@ -2,14 +2,10 @@
PROJECTDIR = .
include scripts/rules.mk
-TESTS = functional fuzzing integration model unit
DIRS = src target drivers test
all: target
-test $(TESTS): all FORCE
- @+cd test/ && $(MAKE) $@
-
target: src drivers
src: lib bin
@@ -17,7 +13,7 @@ src: lib bin
bin lib:
mkdir $@
-drivers src target: $(ENVIRON) FORCE
+$(DIRS): FORCE
+@. $(ENVIRON) && cd $@ && $(MAKE)
gen: $(ENVIRON) FORCE