diff options
Diffstat (limited to 'libc/Makefile')
-rw-r--r-- | libc/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libc/Makefile b/libc/Makefile new file mode 100644 index 0000000..64cfa5d --- /dev/null +++ b/libc/Makefile @@ -0,0 +1,34 @@ +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 + +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/reent.c \ +\ +src/exit.c \ +\ +src/malloc.c \ +\ +src/xprintf.c \ + +include $(ROOTDIR)/target-rules.mk + +clean: clean-generic |