From 78f452decfff09e91c6b16a422cf72a4e0db128f Mon Sep 17 00:00:00 2001 From: Dominic Szablewski Date: Mon, 28 Aug 2023 16:48:47 +0200 Subject: [PATCH] Add USER_CFLAGS to allow specifying additional defines; see #53 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dbcff8f..661bf90 100644 --- a/Makefile +++ b/Makefile @@ -5,9 +5,10 @@ UNAME_O := $(shell uname -o) RENDERER ?= GL USE_GLX ?= false DEBUG ?= false +USER_CFLAGS ?= L_FLAGS ?= -lm -C_FLAGS ?= -std=gnu99 -Wall -Wno-unused-variable +C_FLAGS ?= -std=gnu99 -Wall -Wno-unused-variable $(USER_CFLAGS) ifeq ($(DEBUG), true) C_FLAGS := $(C_FLAGS) -g