summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-10-08 20:39:57 -0400
committerIan Moffett <ian@osmora.org>2025-10-08 20:39:57 -0400
commit4f63915dd2234060020eb5289554d8e2222adbc9 (patch)
tree2ba3780142ce7e45ddfa58d2d1927df6dbd3209b /src
parent135c87015c6624cb953a9edf41282f00cc716b39 (diff)
libc: build: Build musl-math port
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile1
-rw-r--r--src/lib/libc/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index aa642f8..aacde54 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -78,3 +78,4 @@ clean:
.PHONY: distclean
distclean:
make clean; rm -rf sys/target srv/root
+ cd lib; make clean
diff --git a/src/lib/libc/Makefile b/src/lib/libc/Makefile
index c69c470..b4db214 100644
--- a/src/lib/libc/Makefile
+++ b/src/lib/libc/Makefile
@@ -1,4 +1,5 @@
CFILES = $(shell find src/ -name "*.c")
+CFILES += $(shell find/ musl-math -name "*.c")
OBJ = $(shell find build/ -name "*.o")
OBJ += $(CFILES:.c=.o)
LIBC_OUT = libc.a