summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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