summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEthan Werner <mail@ethanwerner.com>2026-09-19 06:09:54 +0000
committerEthan Werner <mail@ethanwerner.com>2026-09-19 06:09:54 +0000
commitbf19b9938508f70011395f4dc283ca758ec6a8d3 (patch)
tree46dc4c442ed8d8d43040433c6a4794e76f8e618a /Makefile
parent96ecf29e8be977f51f351308ef2c7c492bb829aa (diff)
llm toolingHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a4ad567..3dfde01 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,17 @@
CC = gcc
-CFLAGS = -Wall -Wextra -Werror -pedantic -std=c99 -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat-security -Wnull-dereference -I include
+CFLAGS = -Wall -Wextra -Werror -pedantic -std=c99 -O2 -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -fstack-protector-strong -Wformat-security -Wnull-dereference -I include
LDFLAGS = -lm
-CFLAGS_DEBUG = -Wall -Wextra -Werror -pedantic -std=c99 -g -O0 -fstack-protector-strong -Wformat-security -Wnull-dereference -I include
+CFLAGS_DEBUG = -Wall -Wextra -Werror -pedantic -std=c99 -g -O0 -D_POSIX_C_SOURCE=200809L -fstack-protector-strong -Wformat-security -Wnull-dereference -I include
LDFLAGS_DEBUG = $(LDFLAGS)
EXAMPLES = ann_xor buffer bin direct escape genetic_ann genetic_char \
genetic_pushdown_btc pool pushdown stack ufo
TESTS = test_stack test_pool test_buffer test_bin test_pushdown \
- test_escape test_direct test_ann test_genetic test_flat \
- test_uri test_ufo test_interpolate
+ test_escape test_direct test_ann test_genetic test_flat \
+ test_uri test_ufo test_interpolate test_frontmatter test_dotagents \
+ test_clio
EXAMPLE_BINS = $(addprefix bin/, $(EXAMPLES))
TEST_BINS = $(addprefix tests/, $(TESTS))