-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrebar.config
37 lines (36 loc) · 997 Bytes
/
rebar.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ erl_opts, [ debug_info ]}.
{ i, "include" }.
{ sub_dirs, [ "src" ] }.
{port_env, [
{"CFLAGS", "$CFLAGS -O2 -Wall -Wextra -Wswitch-default -Wswitch-enum -fno-common"},
{"(linux)", "CFLAGS", "$CFLAGS -fPIC -msse2 -mmmx -D_THREAD_SAFE -D_REENTRANT -DX11 -DFB -DUSE_SSE2 -DUSE_MMX -I ./include"},
{ "LDFLAGS", "$LDFLAGS -msse2 -mmmx -L/usr/lib -lX11"}
]}.
{port_specs, [
{"linux","priv/epx_nif.so",
[
"c_src/epx_debug.c",
"c_src/epx_hash.c",
"c_src/epx_dict.c",
"c_src/epx_pixel.c",
"c_src/epx_pixmap.c",
"c_src/epx_anim.c",
"c_src/epx_line.c",
"c_src/epx_ellipse.c",
"c_src/epx_draw.c",
"c_src/epx_backend.c",
"c_src/epx_backend_x11.c",
"c_src/epx_backend_fb.c",
"c_src/epx_backend_none.c",
"c_src/epx_window.c",
"c_src/epx_font.c",
"c_src/epx_gl.c",
"c_src/epx_gc.c",
"c_src/epx_simd.c",
"c_src/epx_simd_emu.c",
"c_src/epx_simd_mmx.c",
"c_src/epx_simd_sse2.c",
"c_src/epx.c",
"c_src/epx_nif.c"
]}
]}.