aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"