Makefile: can now give some CLI parameters.

This commit is contained in:
Philippe Pittoli 2024-12-22 00:46:34 +01:00
parent ec03af7e3b
commit 988307e09e

View File

@ -1,9 +1,9 @@
# Directory to store compiled binaries.
BINDIR ?= /tmp/bin/
CC=clang
CFLAGS=-c -Wall -g
LDFLAGS=
CC ?= clang
CFLAGS ?= -c -Wall -g
LDFLAGS ?=
CFILES=$(wildcard *.c)
EXEC=$(patsubst %.c,$(BINDIR)%,$(CFILES))