aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e03bceb..0ec8698 100644
--- a/Makefile
+++ b/Makefile
@@ -23,8 +23,9 @@ DOBJ = $(BUILD)runesd.o \
COBJ = $(BUILD)runesc.o \
$(BUILD)util.o
LIBS = cairo cairo-xlib libuv pangocairo
-CFLAGS ?= -g -Wall -Wextra -Werror
-LDFLAGS ?= -g -Wall -Wextra -Werror
+OPT ?= -g
+CFLAGS ?= $(OPT) -Wall -Wextra -Werror
+LDFLAGS ?= $(OPT) -Wall -Wextra -Werror
ALLCFLAGS = $(shell pkg-config --cflags $(LIBS)) -Ilibvt100/src $(CFLAGS)
ALLLDFLAGS = $(shell pkg-config --libs $(LIBS)) $(LDFLAGS)