diff options
author | Sijmen J. Mulder <ik@sjmulder.nl> | 2018-12-16 17:56:41 +0100 |
---|---|---|
committer | Sijmen J. Mulder <ik@sjmulder.nl> | 2018-12-16 20:17:29 +0100 |
commit | f257cda04ad0f5b6efbb435de61e45d2ae5acbb1 (patch) | |
tree | 77b6077f39d1ae7d6ec92e5defea2ada92b7e341 | |
parent | 9422a38b0dcc6a45396e36d548cf9bba539344e1 (diff) | |
download | nnn-f257cda04ad0f5b6efbb435de61e45d2ae5acbb1.tar.gz |
Make optimization flags configurable
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,8 +6,10 @@ STRIP ?= strip PKG_CONFIG ?= pkg-config INSTALL ?= install -CFLAGS ?= -O3 +CFLAGS_OPTIMIZATION ?= -O3 + CFLAGS += -Wall -Wextra -Wno-unused-parameter +CFLAGS += $(CFLAGS_OPTIMIZATION) ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1) CFLAGS += $(shell $(PKG_CONFIG) --cflags ncursesw) |