diff --git a/Makefile b/Makefile index 7af5f62..9e82b6e 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ CFLAGS= OBJ = ffi_nif.o TARGET = ffi_nif.so LIBS += -ldl -lffi -ERTS_INCLUDE_PATH=/home/josh/Playground/erlangs/erts-6.0/include +ERTS_INCLUDE_PATH ?=$(REBAR_PLT_DIR)/erts-6.0/include DIR=c_src $(DIR)/%.o: $(DIR)/%.c $(DEPS)