Browse Source

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

v0.7.4-release
Ryan Dahl 13 years ago
parent
commit
21dd53f9d3
  1. 7
      Makefile

7
Makefile

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

Loading…
Cancel
Save