Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ry
Created November 18, 2011 01:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ry/1375212 to your computer and use it in GitHub Desktop.
Save ry/1375212 to your computer and use it in GitHub Desktop.
diff --git a/Makefile b/Makefile
index f8dbeaf..2511dce 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,6 @@
BUILDTYPE ?= Release
all: out/Makefile
- tools/gyp_node -f make
$(MAKE) -C out BUILDTYPE=$(BUILDTYPE)
-ln -fs out/Release/node node
-ln -fs out/Debug/node node_g
@@ -14,7 +13,8 @@ clean:
rm -rf out
distclean:
- rm -rf out
+ -rm -rf out
+ -options.gypi
test: all
python tools/test.py --mode=release simple message
diff --git a/configure b/configure
index 36ffb6b..53b63b1 100755
--- a/configure
+++ b/configure
@@ -246,4 +246,4 @@ json.dump(output, f, indent=2, skipkeys=True)
f.write("\n")
f.close()
-subprocess.call('tools/gyp_node')
+subprocess.call(['tools/gyp_node','-f', 'make'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment