Packages

VElixir is a simple to use primitive 3D graphics library. It offers great performance, and ease of use. VElixir was inspired by VPython, which makes basic 3D graphics in python trivial. Now it's just as easy to make 3D graphical visualizations in Elixir.

Current section

Files

Jump to
velixir Makefile
Raw

Makefile

cnano: c_src/cnano.cpp c_src/msgpack-c/libmsgpackc.a c_src/glfw/src/libglfw3.a #c_src/glew/src/thingy.a
g++ \
-O3 \
-lnanomsg -Ldeps/enm/c_src/nanomsg-0.8-beta/.libs -I deps/enm/c_src/include \
-Lc_src/msgpack-c -I c_src/msgpack-c/include/ \
-Lc_src/glfw/src -I c_src/glfw/include -lglfw3 \
-framework OpenGL -framework Cocoa -framework CoreVideo -framework IOKit \
-o cnano \
c_src/cnano.cpp
c_src/msgpack-c/libmsgpackc.a: c_src/msgpack-c/include/msgpack.hpp
cd c_src/msgpack-c && \
cmake . && \
make
c_src/msgpack-c/include/msgpack.hpp:
git clone https://github.com/msgpack/msgpack-c.git c_src/msgpack-c
c_src/glfw/src/libglfw3.a: c_src/glfw/include/GLFW/glfw3.h
cd c_src/glfw && \
cmake . && \
make
c_src/glfw/include/GLFW/glfw3.h:
git clone https://github.com/glfw/glfw.git c_src/glfw
clean:
rm -f cnano