aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
diff options
context:
space:
mode:
Diffstat (limited to 'core/deps.mk')
-rw-r--r--core/deps.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 084d6b4..f44b9a3 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -133,6 +133,10 @@ define dep_autopatch_rebar.erl
Write(io_lib:format("COMPILE_FIRST +=~s\n", [Names]))
end
end(),
+ case $(1) of
+ proper -> Write("\n# Proper hack.\napp::\n\t./write_compile_flags include/compile_flags.hrl\n");
+ _ -> ok
+ end,
Write("\ninclude ../../erlang.mk"),
halt()
endef