Fix include path.
This commit is contained in:
5
Makefile
5
Makefile
@@ -19,11 +19,10 @@ UNIT_TEST_SRC_DIR = test/unit
|
||||
UNIT_TEST_OBJ_DIR = $(OBJ_DIR)/$(UNIT_TEST_SRC_DIR)
|
||||
|
||||
PREFIX ?= /usr
|
||||
LIB_INSTALL_DIR ?= $(PREFIX)/lib/gpio_ftdi
|
||||
INC_INSTALL_DIR ?= $(PREFIX)/include/gpio_ftdi
|
||||
LIB_INSTALL_DIR ?= $(PREFIX)/lib/$(TARGET_FILE)
|
||||
INC_INSTALL_DIR ?= $(PREFIX)/include/lib$(TARGET_FILE)
|
||||
|
||||
INCLUDES := inc
|
||||
INCLUDES += /usr/include/libftdi1
|
||||
|
||||
ifneq "$(findstring $(MAKECMDGOALS), build_unit_test exec_unit_test coverage)" ""
|
||||
INCLUDES += test/inc
|
||||
|
Reference in New Issue
Block a user