Permalink
Browse files

Makefile should build dependencies before install.

antirez#722

This fix proposes to make the `install` rule to depends on a new one,
named `deps`, that builds first all dependencies.

Tested on Ubuntu 12.0.4.3 LTS.
  • Loading branch information...
1 parent 0f25970 commit f3fb4b2f2c711bd4761d4f7960a7b3cdad93e855 @ic committed Mar 10, 2014
Showing with 4 additions and 1 deletion.
  1. +4 −1 Makefile
View
5 Makefile
@@ -5,7 +5,10 @@ default: all
.DEFAULT:
cd src && $(MAKE) $@
-install:
+deps:
+ cd deps && $(MAKE) $@
+
+install: deps
cd src && $(MAKE) $@
.PHONY: install

0 comments on commit f3fb4b2

Please sign in to comment.