simavr: Makefile tweaks
authorMichel Pollet <buserror@gmail.com>
Sat, 16 Jun 2012 10:02:18 +0000 (11:02 +0100)
committerMichel Pollet <buserror@gmail.com>
Sat, 16 Jun 2012 10:02:18 +0000 (11:02 +0100)
Added install target too

Signed-off-by: Michel Pollet <buserror@gmail.com>
Makefile

index ec70365..65085af 100644 (file)
--- 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
+