Makefile: Use '?=' for tools and CFLAGS

This commit is contained in:
Imbus 2025-09-15 18:24:30 +02:00
parent d6d2856c3a
commit f1dde6bfd1

View file

@ -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)