summaryrefslogtreecommitdiff
path: root/libc/Makefile
blob: 15b75a6639991ede06030bfc882055e659a37292 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
TARGET_LIB = libc.a

all: $(TARGET_LIB)

include $(ROOTDIR)/common.mk
include config.mk
include $(ROOTDIR)/FreeRTOS/config.mk
include $(ROOTDIR)/arch/config.mk
include $(ROOTDIR)/os/config.mk
include $(ROOTDIR)/libm/config.mk

ifneq ($(USE_FLOATINGPOINT),true)
TARGET_CPPFLAGS = -DNOFLOATINGPOINT
endif

TARGET_SRCS = \
src/close.c \
src/lseek.c \
src/open.c \
src/read.c \
src/write.c \
\
src/stdio.c \
src/errno.c \
\
src/qsort.c \
\
src/reent.c \
\
src/exit.c \
\
src/malloc.c \
\
src/xprintf.c \
src/xscanf.c \
src/yscanf.c \

include $(ROOTDIR)/target-rules.mk

clean: clean-generic