From 4d6eff1042dd3f25e264040773cd8a589fc7e1bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?b=CA=B0edoh=E2=82=82=20sw=C3=A9?= Date: Sun, 2 Jun 2024 19:21:17 +0500 Subject: [PATCH] Add CFLAGS variable to the Makefile --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ec93166..55c71ce 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +CFLAGS ?= + all: mkdir -p bin/ - $(CC) -o bin/foxpc -O2 -Wall -Wextra -Wpedantic -std=c99 src/*.c + $(CC) -o bin/foxpc -O2 -Wall -Wextra -Wpedantic -std=c99 $(CFLAGS) src/*.c