summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBearice Ren <bearice@gmail.com>2012-08-26 11:20:42 +0800
committerBen Noordhuis <info@bnoordhuis.nl>2012-08-28 22:10:56 +0200
commitef3617c6f862900ab5b4963164641c70f86c23a5 (patch)
treeebdfe444b4203362248284dfe36ff1bdf4f1a3c4 /Makefile
parent24184345688e1f545ffc87e5742de06ed9855007 (diff)
downloadnodejs-ef3617c6f862900ab5b4963164641c70f86c23a5.tar.gz
nodejs-ef3617c6f862900ab5b4963164641c70f86c23a5.tar.bz2
nodejs-ef3617c6f862900ab5b4963164641c70f86c23a5.zip
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 087adee1b..d02a64a05 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