aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-13 22:07:31 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-13 22:07:31 +0800
commitfcb069b98bb6a2f59e5ebfd2ad0ab5ee82a1bdb8 (patch)
tree72ee9cea7cc35bef2971eb5de85806eb07f20fb8 /Makefile
parent9982fba5f471944a2e5ab1edac97c971eb557416 (diff)
add cycle detect for `Pair`, `ProcObj`, `Envt` and `Cont`
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 50b7f45..1f44815 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
CXX = g++ -DGMP_SUPPORT
BUILD_DIR = build
-all: release
-debug: CXX += -g -pg
+all: gc_debug
+debug: CXX += -DGC_INFO -g -pg
gc_debug: CXX += -DGC_INFO -DGC_DEBUG -g -pg
release: $(BUILD_DIR) $(BUILD_DIR)/sonsi
@@ -24,7 +24,7 @@ $(BUILD_DIR):
mkdir -p $(BUILD_DIR)
$(BUILD_DIR)/%.o : %.cpp
- $(CXX) -o $@ -c $< -Wall -O2
+ $(CXX) -o $@ -c $< -Wall
clean:
rm -rf $(BUILD_DIR)