Skip to content

Commit

Permalink
new mad
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Sep 20, 2017
1 parent 81cc339 commit 799dfa5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/mad.hrl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-define(VERSION,"886a1d").
-define(VERSION,"81cc33").
Binary file modified mad
Binary file not shown.
4 changes: 3 additions & 1 deletion src/compile/mad_erl.erl
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
-module(mad_erl).
-copyright('Sina Samavati').
-compile(export_all).
-define(COMPILE_OPTS(Inc, Ebin, Opts, Deps), [return_errors, return_warnings, debug_info, {i, [Inc]}, {outdir, Ebin}] ++ Opts++Deps).
-define(COMPILE_OPTS(Inc, Ebin, Opts, Deps),
[return_errors, return_warnings, debug_info,
{i, [Inc]}, {outdir, Ebin}] ++ Opts ++ Deps).

erl_to_beam(Bin, F) -> filename:join(Bin, filename:basename(F, ".erl") ++ ".beam").

Expand Down

0 comments on commit 799dfa5

Please sign in to comment.