summaryrefslogtreecommitdiff
path: root/src/user/lib/libc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/libc/Makefile')
-rw-r--r--src/user/lib/libc/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/user/lib/libc/Makefile b/src/user/lib/libc/Makefile
new file mode 100644
index 0000000..14a5421
--- /dev/null
+++ b/src/user/lib/libc/Makefile
@@ -0,0 +1,11 @@
+Out = _libc.o
+Obj = tce/syscall.o std/_dlmalloc.o \
+ std/stdio.o std/stdlib.o std/string.o std/sched.o std/readline.o \
+ start.o
+
+include $(SrcPath)/common.make
+
+CFLAGS += -I$(SrcPath)/include -I$(SrcPath)/user/lib/libc/include -Wno-error=unused-variable
+
+LDFLAGS += -r
+