aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/erlc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/erlc.mk b/core/erlc.mk
index 5c38fc9..cbb7471 100644
--- a/core/erlc.mk
+++ b/core/erlc.mk
@@ -68,9 +68,11 @@ ifneq ($(wildcard src/),)
ebin/$(PROJECT).app::
@mkdir -p ebin/
+ifneq ($(wildcard mibs/),)
ebin/$(PROJECT).app:: $(shell find mibs -type f -name \*.mib)
@mkdir -p priv/mibs/ include
$(if $(strip $?),$(call compile_mib,$?))
+endif
ebin/$(PROJECT).app:: $(shell find src -type f -name \*.erl) \
$(shell find src -type f -name \*.core)