aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-03-23 08:12:21 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-03-23 08:12:21 +0100
commit276d79b1fa139756477e4acdb6b5fac51f2acb90 (patch)
tree280f823b844341074520c7dceea6427294853e45 /makefile
parent17f1bd79e251bd570ad79da2249f8e0bdaf5aa9f (diff)
adding sse2 path
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/makefile b/makefile
index dacbbe5..982698c 100644
--- a/makefile
+++ b/makefile
@@ -5,6 +5,7 @@ CM_OPT_ASSERT_PATH ?= <assert.h>
CM_OPT_RELEASE ?= 1
CM_OPT_ENABLE_UBSAN ?= 0
CM_OPT_ENABLE_ASAN ?= 0
+CM_OPT_ENABLE_SSE2 ?= 0
CC ?= gcc
@@ -39,6 +40,10 @@ ifeq ($(CM_OPT_ENABLE_ASAN),1)
CM_CC_FLAGS += -fsanitize=address
endif
+ifeq ($(CM_OPT_ENABLE_SSE2),1)
+ CM_CC_FLAGS += -DCM_SSE2=1
+endif
+
.PHONY: all
all: $(CM_OBJECT) $(CM_DEMO)