diff options
| author | Federico Angelilli <code@fedang.net> | 2024-07-11 00:03:04 +0200 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-07-11 00:03:04 +0200 |
| commit | 39e0f4e90dccbfb38db14a0cd4f596c1b5006b19 (patch) | |
| tree | e4b0aa8ef9f678ce41ba8a3cbad05276eb3450c5 /Makefile | |
| parent | 26aaffc0e7293e4d4e48362159572e205c082068 (diff) | |
Release flags
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
