From 39e0f4e90dccbfb38db14a0cd4f596c1b5006b19 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Thu, 11 Jul 2024 00:03:04 +0200 Subject: Release flags --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 796df02..cf55cc2 100644 --- a/Makefile +++ b/Makefile @@ -12,11 +12,11 @@ PCDEP = xcb \ "xcb-randr >= 1.5" \ pangocairo -CFLAGS := $(shell pkg-config --cflags $(PCDEP)) -Wall -Werror -LDFLAGS := $(shell pkg-config --libs $(PCDEP)) -lm +CFLAGS := $(shell pkg-config --cflags $(PCDEP)) -Wall -Werror $(CFLAGS) +LDFLAGS := $(shell pkg-config --libs $(PCDEP)) -lm $(LDFLAGS) ifdef RELEASE -CFLAGS += -O2 +CFLAGS += -O2 -DRELEASE=1 else CFLAGS += -ggdb endif -- cgit v1.2.3