From f1dde6bfd11e3e2e8d78697eb0b81514160bc139 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Mon, 15 Sep 2025 18:24:30 +0200 Subject: [PATCH] Makefile: Use '?=' for tools and CFLAGS --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 9e1504d..a4f8477 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -CC = gcc -CFLAGS = -Wall -fPIC -Ihash -O2 -AR = ar -ARFLAGS = rcs +CC ?= gcc +CFLAGS ?= -Wall -fPIC -Ihash -O2 +AR ?= ar +ARFLAGS ?= rcs SRCS = djb2.c OBJS = $(SRCS:.c=.o)