From 02b20e353366afcd8890bf8991e09bf653df5bf3 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 8 May 2024 17:11:40 +0530 Subject: Added README and release flags --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5bfc6d1..678a38e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,12 @@ CC=g++ -CFLAGS=-Wall -Wextra -Werror -Wswitch-enum -ggdb -fsanitize=address -fsanitize=undefined -std=c++17 +GFLAGS=-Wall -Wextra -Werror -Wswitch-enum -std=c++17 +DFLAGS=-ggdb -fsanitize=address -fsanitize=undefined +RFLAGS=-O3 +ifdef RELEASE +CFLAGS=$(GFLAGS) $(RFLAGS) +else +CFLAGS=$(GFLAGS) $(DFLAGS) +endif LIBS=-lm -lraylib ARGS= -- cgit v1.2.3-13-gbd6f