# Get absolute path to containing directory: http://stackoverflow.com/a/324782
TOP := $(dir $(CURDIR)/$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
LOCAL_INCLUDE_DIR := $(abspath $(TOP)Modules)

include $(TOP)/common.mk

# Use libisri, created in Modules/
CPPFLAGS += -I$(LOCAL_INCLUDE_DIR)
LDFLAGS += -L$(LOCAL_INCLUDE_DIR)
LDLIBS += -lisri

# Get absolute path to containing directory: http://stackoverflow.com/a/324782
TOP := $(dir $(CURDIR)/$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
LOCAL_INCLUDE_DIR := $(abspath $(TOP)Modules)

include $(TOP)/common.mk

# Use libisri, created in Modules/
CPPFLAGS += -I$(LOCAL_INCLUDE_DIR)
LDFLAGS += -L$(LOCAL_INCLUDE_DIR)
LDLIBS := -lisri $(LDLIBS)

Reorder include path for GNU ld.
Reorder include path for GNU ld.
