From 46b2d724b217c59671a4d737d1a841845d0fe953 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 18 May 2014 15:09:41 +0800 Subject: prepare for the final test --- Makefile | 6 +++--- finaltermvars.sh | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 finaltermvars.sh 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" -- cgit v1.2.3-70-g09d2