summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
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