Browse files

Makefile: Don't force user to run ./configure first

  • Loading branch information...
1 parent 6e76a7c commit 21dd53f9d3d685018c5a9e52251c3c9b6b69f79d @ry ry committed Jan 17, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 Makefile
@@ -11,14 +11,17 @@ endif
# to check for changes.
.PHONY: node node_g
+node: config.gypi
$(MAKE) -C out BUILDTYPE=Release
ln -fs out/Release/node node
+node_g: config.gypi
$(MAKE) -C out BUILDTYPE=Debug
ln -fs out/Debug/node node_g
+config.gypi: configure
+ ./configure
$(MAKE) -C out BUILDTYPE=Debug

0 comments on commit 21dd53f

Please sign in to comment.