include.mk make script

This commit is contained in:
Pavel Kirienko 2014-04-02 12:34:58 +04:00
parent 3bbcc9b0db
commit 68e4c94fca

24
libuavcan/include.mk Normal file
View File

@ -0,0 +1,24 @@
#
# Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
#
LIBUAVCAN_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
UAVCAN_DIR := $(LIBUAVCAN_DIR)/../
#
# Library sources
#
LIBUAVCAN_SRC := $(shell find $(LIBUAVCAN_DIR)/src/ -type f -name '*.cpp')
LIBUAVCAN_INC := $(LIBUAVCAN_DIR)/include
#
# DSDL compiler executable
#
LIBUAVCAN_DSDLC := $(LIBUAVCAN_DIR)/dsdl_compiler/libuavcan_dsdlc
#
# Standard DSDL definitions
#
UAVCAN_DSDL_DIR := $(UAVCAN_DIR)/dsdl/uavcan