diff --git a/Makefile b/Makefile index 71df3af..ef2c697 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CFLAGS = -g -Wall -Wextra -pedantic -Wno-unused-parameter +CFLAGS = -g -O3 -Wall -Wextra -pedantic -Wno-unused-parameter OBJS = $(patsubst %.c, %.o, $(sort $(wildcard *.c))) TARGET = kuroko diff --git a/kuroko.h b/kuroko.h index 21b9f1e..89d7070 100644 --- a/kuroko.h +++ b/kuroko.h @@ -4,7 +4,9 @@ #include #include +#ifdef DEBUG #define ENABLE_DEBUGGING #define ENABLE_TRACING #define ENABLE_SCAN_TRACING #define ENABLE_STRESS_GC +#endif