From 988307e09ec3839c813b230416a948f9950ec84d Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Sun, 22 Dec 2024 00:46:34 +0100 Subject: [PATCH] Makefile: can now give some CLI parameters. --- c/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/c/Makefile b/c/Makefile index a8fca5d..139d8ac 100644 --- a/c/Makefile +++ b/c/Makefile @@ -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))