From ef3617c6f862900ab5b4963164641c70f86c23a5 Mon Sep 17 00:00:00 2001 From: Bearice Ren Date: Sun, 26 Aug 2012 11:20:42 +0800 Subject: [PATCH] build: fix `make -j' fails after `make clean' make fails if: ./configure && make clean && make -j6 as out/Makefile has not yet be made when entering sub dirs --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 087adee1bf..d02a64a052 100644 --- a/Makefile +++ b/Makefile @@ -22,11 +22,11 @@ endif # to check for changes. .PHONY: node node_g -node: config.gypi +node: config.gypi out/Makefile $(MAKE) -C out BUILDTYPE=Release V=$(V) ln -fs out/Release/node node -node_g: config.gypi +node_g: config.gypi out/Makefile $(MAKE) -C out BUILDTYPE=Debug V=$(V) ln -fs out/Debug/node node_g