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
This commit is contained in:
Родитель
2418434568
Коммит
ef3617c6f8
4
Makefile
4
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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче