1#
2# Copyright 2016, Data61
3# Commonwealth Scientific and Industrial Research Organisation (CSIRO)
4# ABN 41 687 119 230.
5#
6# This software may be distributed and modified according to the terms of
7# the BSD 2-Clause license. Note that NO WARRANTY is provided.
8# See "LICENSE_BSD2.txt" for details.
9#
10# @TAG(D61_BSD)
11#
12
13# Targets
14TARGETS := librefos.a
15
16# Source files required to build the target
17CFILES := $(patsubst $(SOURCE_DIR)/%,%,$(wildcard $(SOURCE_DIR)/src/*.c))
18CFILES += $(patsubst $(SOURCE_DIR)/%,%,$(wildcard $(SOURCE_DIR)/src/*/*.c))
19
20# Header files/directories this library provides
21HDRFILES := $(wildcard $(SOURCE_DIR)/include/*)
22
23CFLAGS += -O2 -D_XOPEN_SOURCE=700
24
25include $(SEL4_COMMON)/common.mk
26