From 6dd257f754fb29815eac1123e1ed97eead1d10cb Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Sat, 16 Jun 2012 11:02:18 +0100 Subject: [PATCH] simavr: Makefile tweaks Added install target too Signed-off-by: Michel Pollet --- Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ec70365..65085af 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,21 @@ -all: $(MAKE)-simavr $(MAKE)-tests $(MAKE)-examples -$(MAKE)-simavr: + +all: build-simavr build-tests build-examples + +build-simavr: $(MAKE) -C simavr -$(MAKE)-tests: $(MAKE)-simavr +build-tests: build-simavr $(MAKE) -C tests -$(MAKE)-examples: $(MAKE)-simavr +build-examples: build-simavr $(MAKE) -C examples +install: + $(MAKE) -C simavr install + clean: $(MAKE) -C simavr clean $(MAKE) -C tests clean $(MAKE) -C examples clean + -- 2.39.5