azynheira / distel

Automatically exported from code.google.com/p/distel
0 stars 0 forks source link

Makefile doesn't use defined erlc macro #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Makefile ebin/%.beam doesn't use defined erlc macro

What is the expected output? What do you see instead?
$(erlc) instead of erlc

What version of the product are you using? On what operating system?
r91

Please provide any additional information below.

diff --git a/Makefile b/Makefile
index 813cd8b..cc2416f 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ erl: ${ERL_OBJ}

 ## Erlang
 ebin/%.beam: src/%.erl
-       erlc -W -o ebin +debug_info $<
+       $(erlc) -W -o ebin +debug_info $<

 ## Elisp
 elisp/%.elc: elisp/%.el

Original issue reported on code.google.com by lihaitao on 7 May 2009 at 3:21

GoogleCodeExporter commented 8 years ago

Original comment by mats.cro...@gmail.com on 7 May 2009 at 7:30