Browse Source

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
v0.8.9-release
Bearice Ren 13 years ago
committed by Ben Noordhuis
parent
commit
ef3617c6f8
  1. 4
      Makefile

4
Makefile

@ -22,11 +22,11 @@ endif
# to check for changes. # to check for changes.
.PHONY: node node_g .PHONY: node node_g
node: config.gypi node: config.gypi out/Makefile
$(MAKE) -C out BUILDTYPE=Release V=$(V) $(MAKE) -C out BUILDTYPE=Release V=$(V)
ln -fs out/Release/node node ln -fs out/Release/node node
node_g: config.gypi node_g: config.gypi out/Makefile
$(MAKE) -C out BUILDTYPE=Debug V=$(V) $(MAKE) -C out BUILDTYPE=Debug V=$(V)
ln -fs out/Debug/node node_g ln -fs out/Debug/node node_g

Loading…
Cancel
Save