Packages
exboost
0.1.0
0.3.9
0.3.8
0.3.7
retired
0.3.6
retired
0.3.5
retired
0.3.4
retired
0.3.3
retired
0.3.2
retired
0.3.1
retired
0.3.0
retired
0.2.9
retired
0.2.8
retired
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1-alpha.6
0.2.1-alpha.5
0.2.1-alpha.4
0.2.1-alpha.3
0.2.1-alpha.2
0.2.1-alpha
0.2.0
0.2.0-alpha
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.0
Provides an elixir wrapper for the C++ Boost library.
Current section
Files
Jump to
Current section
Files
Makefile
#
VPATH = ./priv
ERLANG_PATH = $(shell erl -eval 'io:format("~s", [lists:concat([code:root_dir(), "/erts-", erlang:system_info(version), "/include"])])' -s init stop -noshell)
CFLAGS = -I$(ERLANG_PATH) -Ideps/boost -fPIC -g -O3 -flto -mtune=generic -Wno-write-strings
LDFLAGS = -shared -undefined dynamic_lookup -Ldeps/boost/stage/lib/ -lboost_math_c99
CC = g++
SRCS = boostnif.c
OBJS = $(SRCS:.c=.o)
priv/libboostnif.so: $(OBJS)
$(CC) -o $@ $< $(CFLAGS) $(LDFLAGS)
.PHONY: clean
clean:
rm -f priv/libboostnif.so