summaryrefslogtreecommitdiff
path: root/mk/c.mk
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-09-03 09:35:19 -0400
committerOri Bernstein <ori@eigenstate.org>2015-09-04 16:06:00 -0400
commit177875c6a96d728a9a35ab6a52fd00a4ff837ce1 (patch)
tree9230515d91090b5e074f856abb741da0bc326839 /mk/c.mk
parentca51f97ae84297763505654567d38a74dc8dad5b (diff)
downloadmc-177875c6a96d728a9a35ab6a52fd00a4ff837ce1.tar.gz
Split lib/sys out of lib/std
Diffstat (limited to 'mk/c.mk')
-rw-r--r--mk/c.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/c.mk b/mk/c.mk
index ca538e5..5e98765 100644
--- a/mk/c.mk
+++ b/mk/c.mk
@@ -6,7 +6,8 @@ _LIBSRCHPATHS=$(addprefix -L, $(dir $(DEPS)))
_LIBINCPATHS=$(addprefix -I, $(dir $(DEPS)))
_LIBPATHS=$(addprefix -l, $(patsubst lib%.a,%,$(notdir $(DEPS))))
-CFLAGS += -O -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -g
+# yeah, I should probably remove -Werror, but it's nice for developing alone.
+CFLAGS += -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -g
CFLAGS += -MMD -MP -MF ${_DEPSDIR}/$(subst /,-,$*).d
LIB ?= $(INSTLIB)