Permalink
Browse files

Extract compile options

  • Loading branch information...
1 parent 10cb1a1 commit 81b39f2b73067ffe67ffddc47c32f8b18804e0fb Andreas Pauley committed Mar 28, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 sudoku
View
7 sudoku
@@ -2,9 +2,10 @@
-import(sudoku, [print_results/1]).
main(Args) ->
- {ok, sudoku} = compile:file(sudoku, [native]),
- {ok, unittests} = compile:file(unittests, [native]),
- {ok, ct_expand} = compile:file(ct_expand, [native]),
+ CompileOptions = [native],
+ {ok, sudoku} = compile:file(sudoku, CompileOptions),
+ {ok, unittests} = compile:file(unittests, CompileOptions),
+ {ok, ct_expand} = compile:file(ct_expand, CompileOptions),
run_solver(Args).
run_solver([]) ->

0 comments on commit 81b39f2

Please sign in to comment.