Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2010-10-24 18:15:05 +0400
committerRyan Dahl <ry@tinyclouds.org>2010-11-14 01:29:59 +0300
commite5a0fbe500fa3b5f3e0c15f8d17a5d8026fac919 (patch)
treead6815929fb38a1753b84dcc3ec8394c88778948 /Makefile
parentde6e88c4282d40bfc24093411d4c2857a1014d61 (diff)
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 48b38a97492..0fdfe23825c 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