summaryrefslogtreecommitdiff
path: root/mk/c.mk
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-08-15 15:09:13 -0400
committerOri Bernstein <ori@eigenstate.org>2014-08-15 15:09:13 -0400
commita5a4e162cec3bb59c7d88a703d45edc916392453 (patch)
treeb9f613dd702a0e2098257124c957d89e71c3c81c /mk/c.mk
parent86dab9d203405b143a29f2fa137af01b7c943f65 (diff)
downloadmc-a5a4e162cec3bb59c7d88a703d45edc916392453.tar.gz
Disable implicit rules.
Implicit rules were preventing the '.deps' directory from being created correctly. They also might have caused sporadic failures due to a missing dependency on generated headers. This kills them. Explicit is better than implicit.
Diffstat (limited to 'mk/c.mk')
-rw-r--r--mk/c.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/c.mk b/mk/c.mk
index ecc8a7d..5fb3030 100644
--- a/mk/c.mk
+++ b/mk/c.mk
@@ -10,6 +10,8 @@ CFLAGS += -Wall -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initial
CFLAGS += -g
CFLAGS += -MMD -MP -MF ${_DEPSDIR}/$(subst /,-,$*).d
+# disable implicit rules.
+.SUFFIXES:
.PHONY: clean clean-gen clean-bin clean-obj clean-misc clean-backups
.PHONY: all