forked from aregtech/areg-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
22 lines (17 loc) · 784 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# ###########################################################################
# This file is part of AREG SDK
# Copyright (c) Aregtech UG, 2017-2021
# Contact: info[at]aregtech.com
# ###########################################################################
# AREG SDK root directory without '/'
MAKEFILE_ROOT := $(abspath $(lastword $(MAKEFILE_LIST)))
AREG_SDK_ROOT := $(patsubst %/,%,$(dir $(MAKEFILE_ROOT)))
MAKEFILE_CONFIG_DIR := $(AREG_SDK_ROOT)/conf/make
AREG_BASE := $(AREG_SDK_ROOT)/framework
AREG_EXAMPLES := $(AREG_SDK_ROOT)/examples
# 'all' must be defined first before include project's makefiles
all: framework examples
include $(MAKEFILE_CONFIG_DIR)/common.mk
include $(AREG_BASE)/Makefile
include $(AREG_EXAMPLES)/Makefile
.PHONY: all