zephyr/samples/application_development/external_lib/Makefile
Anas Nashif 4ad2746088 samples: demonstrate the use of KBUILD_ZEPHYR_APP
Jira: ZEP-2280
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-06-19 21:23:11 -04:00

19 lines
334 B
Makefile

#
# Copyright (c) 2017 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
BOARD = qemu_x86
CONF_FILE = prj.conf
KBUILD_ZEPHYR_APP = libmylib.a
SOURCE_DIR = $(CURDIR)
subdir-ccflags-y += -I$(SOURCE_DIR)/mylib/include
obj-y += src/
export obj-y subdir-ccflags-y
export KBUILD_ZEPHYR_APP
include ${ZEPHYR_BASE}/Makefile.inc