aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeddy <[email protected]>2014-05-18 15:09:41 +0800
committerTeddy <[email protected]>2014-05-18 15:09:41 +0800
commit46b2d724b217c59671a4d737d1a841845d0fe953 (patch)
tree800f3138947889f598948afd3e03f3b7f972b522
parentc9ab7b9fce223e57ea5716291cfd91c3fba567df (diff)
prepare for the final test
-rw-r--r--Makefile6
-rw-r--r--finaltermvars.sh2
2 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b5d63a1..e231f9b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-ifeq ($(mode), release)
- CFLAGS = -O2 -Wall
-else
+ifeq ($(mode), debug)
CFLAGS = -g -Wall -Wextra -DCIBIC_DEBUG
+else
+ CFLAGS = -O2 -Wall
endif
all: cibic
diff --git a/finaltermvars.sh b/finaltermvars.sh
new file mode 100644
index 0000000..0196ce9
--- /dev/null
+++ b/finaltermvars.sh
@@ -0,0 +1,2 @@
+cp ../lib.s .
+export CCHK="./cibic"