Skip to content

Instantly share code, notes, and snippets.

@AllanHasegawa
Created August 14, 2014 23:20
Show Gist options
  • Save AllanHasegawa/e252c4675015ec9d8c3b to your computer and use it in GitHub Desktop.
Save AllanHasegawa/e252c4675015ec9d8c3b to your computer and use it in GitHub Desktop.
openvdb "hello world" Makefile
CXX=clang
EXE=ovdb_01
OPENVDB_INCLUDE=/opt/OpenVDB/include
OPENVDB_LIB=/opt/OpenVDB/lib
LIBS=-lm -lstdc++ -ltbb -lHalf -llog4cplus -lopenvdb
all:
${CXX} -I${OPENVDB_INCLUDE} -L${OPENVDB_LIB} ${LIBS} -std=c++11 main.cpp -o ${EXE}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment