summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-29 10:07:16 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-29 10:07:16 +1100
commitc57380ed3e5c54c9325806a8b5135c7654c34b6f (patch)
tree1eb98763147e8775551fe5ec7d8890e0b28c75ee
parent00574cca7b0cf820f4808a127891b5dc86c9d2a7 (diff)
refactor(Makefile): Use INCLUDES varible to store including directories
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9cebce2..5ed5f9d 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,9 @@ AR ?= ar
OUTDIR = dist
LIB = libtinyff.a
-CFLAGS = -Wall -Wextra -Werror -std=c11 -Iinclude
+INCLUDES = -Iinclude
+CFLAGS = -Wall -Wextra -Werror -std=c11 $(INCLUDES)
+
DEBUG_FLAGS = -g -O0
RELEASE_FLAGS = -O2
SANFLAGS = -fsanitize=address,undefined -g -O1