diff --git a/Makefile b/Makefile index 3b152d2d04..856b5a66a5 100644 --- a/Makefile +++ b/Makefile @@ -11,14 +11,17 @@ endif # to check for changes. .PHONY: node node_g -node: +node: config.gypi $(MAKE) -C out BUILDTYPE=Release ln -fs out/Release/node node -node_g: +node_g: config.gypi $(MAKE) -C out BUILDTYPE=Debug ln -fs out/Debug/node node_g +config.gypi: configure + ./configure + out/Debug/node: $(MAKE) -C out BUILDTYPE=Debug