From 21dd53f9d3d685018c5a9e52251c3c9b6b69f79d Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 16 Jan 2012 23:28:25 -0800 Subject: [PATCH] Makefile: Don't force user to run ./configure first --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3b152d2..856b5a6 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 -- 2.7.4