diff --git a/Makefile b/Makefile index 1ee9395..ed6d8f3 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,13 @@ PROJECT = example CFLAGS += -Wall -Wextra -pedantic -Werror -std=c23 + +# For Debug Build +CFLAGS += -g -O0 + +# For Release Build +#CFLAGS += -O3 -DNDEBUG + SOURCES = $(wildcard *.c) OBJECTS = $(SOURCES:.c=.o) DEPENDS = $(SOURCES:.c=.d)