From: Michel Pollet Date: Sat, 16 Jun 2012 10:02:18 +0000 (+0100) Subject: simavr: Makefile tweaks X-Git-Tag: v1.0~61 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=6dd257f754fb29815eac1123e1ed97eead1d10cb;p=sx%2Fsimavr.git simavr: Makefile tweaks Added install target too Signed-off-by: Michel Pollet --- 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 +