let's build things for a faster vm by default

This commit is contained in:
K Lange 2020-12-28 16:31:53 +09:00
parent d8d03a2c4c
commit 27f888543d
2 changed files with 3 additions and 1 deletions

View File

@ -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))) OBJS = $(patsubst %.c, %.o, $(sort $(wildcard *.c)))
TARGET = kuroko TARGET = kuroko

View File

@ -4,7 +4,9 @@
#include <stddef.h> #include <stddef.h>
#include <stdlib.h> #include <stdlib.h>
#ifdef DEBUG
#define ENABLE_DEBUGGING #define ENABLE_DEBUGGING
#define ENABLE_TRACING #define ENABLE_TRACING
#define ENABLE_SCAN_TRACING #define ENABLE_SCAN_TRACING
#define ENABLE_STRESS_GC #define ENABLE_STRESS_GC
#endif