Commit abf87eafcdca47863a1a339a9e7eec98e07a147c
authorK3A <root@k3a.me>
Mon, 26 Feb 2018 21:45:06 +0000 (22:45 +0100)
committerGitHub <noreply@github.com>
Mon, 26 Feb 2018 21:45:06 +0000 (22:45 +0100)
Update install rule to require build-simavr and build-parts. That should fix #271.

Makefile

index 35913184bb0b992817f5cc5e86f009fb1975fcc6..a0892f19865e14154d9b8e26474a40501c11b357 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,15 +23,12 @@ build-examples: build-simavr
 build-parts: build-examples
        $(MAKE) -C examples/parts RELEASE=$(RELEASE)
 
-install:
+install: build-simavr build-parts
        $(MAKE) -C simavr install RELEASE=$(RELEASE)
 
 doc:
        $(MAKE) -C doc RELEASE=$(RELEASE)
 
-install:
-       $(MAKE) -C simavr install
-
 clean:
        $(MAKE) -C simavr clean
        $(MAKE) -C tests clean