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 CC ?= gcc
CFLAGS = -Wall -fPIC -Ihash -O2 CFLAGS ?= -Wall -fPIC -Ihash -O2
AR = ar AR ?= ar
ARFLAGS = rcs ARFLAGS ?= rcs
SRCS = djb2.c SRCS = djb2.c
OBJS = $(SRCS:.c=.o) OBJS = $(SRCS:.c=.o)