summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2010-10-24 16:15:05 +0200
committerRyan Dahl <ry@tinyclouds.org>2010-11-13 14:29:59 -0800
commite5a0fbe500fa3b5f3e0c15f8d17a5d8026fac919 (patch)
treead6815929fb38a1753b84dcc3ec8394c88778948 /Makefile
parentde6e88c4282d40bfc24093411d4c2857a1014d61 (diff)
downloadnode-new-e5a0fbe500fa3b5f3e0c15f8d17a5d8026fac919.tar.gz
Added support for cross compilation and also fixed DEST_CPU to represent the canonical symbols dictated by v8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 48b38a9749..0fdfe23825 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,19 @@
WAF=python tools/waf-light
-all:
- @$(WAF) build
+all: program
all-progress:
@$(WAF) -p build
+program:
+ @$(WAF) --product-type=program build
+
+staticlib:
+ @$(WAF) --product-type=cstaticlib build
+
+dynamiclib:
+ @$(WAF) --product-type=cshlib build
+
install:
@$(WAF) install
@@ -91,4 +99,4 @@ bench-idle:
./node benchmark/idle_clients.js &
-.PHONY: bench clean docclean dist distclean check uninstall install all test test-all website-upload
+.PHONY: bench clean docclean dist distclean check uninstall install all program staticlib dynamiclib test test-all website-upload