Skip to content

Instantly share code, notes, and snippets.

@ry ry/gyp.diff
Created Nov 18, 2011

Embed
What would you like to do?
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
You can’t perform that action at this time.