aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-14 22:01:56 -0400
committerIan Moffett <ian@osmora.org>2024-03-14 22:01:56 -0400
commit128684dfb24b710cc67bf3de293b31c25746db0c (patch)
tree8e2ba6e7ee86bab31f32265564cc33d2f6f35eba /lib/Makefile
parent46af122de0533c2bf8344382757843f47686b33c (diff)
libc: Initial hyra libc commit
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/Makefile b/lib/Makefile
index a4946e9..3881833 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,11 +1,7 @@
-mlibc/build/:
- cd mlibc; ln -s ../../cross/bin/ crossbin
- cd mlibc; meson setup -Ddisable_crypt_option=true -Ddisable_iconv_option=true \
- -Ddisable_intl_option=true -Ddisable_libgcc_dependency=true \
- -Ddisable_linux_option=true -Ddisable_libgcc_dependency=false \
- -Dmlibc_no_headers=true \
- --cross-file=cross_file.txt build; cd build/; ninja
+.PHONY: libc
+libc:
+ cd libc; make CC=$(CC)
.PHONY: clean
clean:
- rm -rf mlibc/build; rm -f mlibc/crossbin
+ cd libc/; make clean