aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMosder <xmosder12@gmail.com>2026-07-29 23:38:30 +0200
committerMosder <xmosder12@gmail.com>2026-07-29 23:38:30 +0200
commit4624152ac63ca3b4cbba0998d54fb0da84daef8c (patch)
treeaf9495048e2ba0927a826de5294978576bcf5be1 /Makefile
parenta30d6feab718a887edc7eb5b0470faa77677a8c3 (diff)
refactor: explicitely specified c99 standard in CFLAGS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 72eab55..0b6f882 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
CC=gcc
-CFLAGS=-Wall -Wextra -iquote ./analyzer -O2 -flto -s
+CFLAGS=-std=c99 -D_DEFAULT_SOURCE -Wall -Wextra -iquote ./analyzer -O2 -flto -s
global: compile
sudo mv branal /usr/local/bin
@@ -7,7 +7,7 @@ global: compile
local: compile
mv branal ${HOME}/.local/bin
-debug: CFLAGS=-iquote ./analyzer -Og -g
+debug: CFLAGS=-std=c99 -D_DEFAULT_SOURCE -Wall -Wextra -iquote ./analyzer -Og -g
debug: global
compile: csv_table_gen main_files structures utils parser