From 01a714710181c8f9faf91662ef2bb6bc1faa0c9f Mon Sep 17 00:00:00 2001 From: Vanya Sergeev Date: Fri, 8 Jul 2016 11:37:06 -0700 Subject: [PATCH] embed: use /usr/local as default install prefix in Makefile resolves #21. --- embed/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/embed/Makefile b/embed/Makefile index 0297e088e..03fb36613 100644 --- a/embed/Makefile +++ b/embed/Makefile @@ -29,7 +29,8 @@ LIB_OBJS := $(patsubst $(GEN_DIR)/%.c, $(BUILD_DIR)/%.o, $(LUA_C_SRCS)) $(patsub EXAMPLE_BINS = $(patsubst $(EXAMPLE_DIR)/%.c, $(BUILD_DIR)/$(EXAMPLE_DIR)/%, $(EXAMPLE_SRCS)) TEST_BINS = $(patsubst $(TEST_DIR)/%.c, $(BUILD_DIR)/$(TEST_DIR)/%, $(TEST_SRCS)) -PREFIX ?= /usr +PREFIX ?= /usr/local + INSTALL_CMOD = $(shell pkg-config luajit --variable INSTALL_CMOD) ################################################################################