You can now build Cosmopolitan with Clang:
make -j8 MODE=llvm
o/llvm/examples/hello.com
The assembler and linker code is now friendly to LLVM too.
So it's not needed to configure Clang to use binutils under
the hood. If you love LLVM then you can now use pure LLVM.
18 lines
648 B
Makefile
18 lines
648 B
Makefile
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐
|
|
#───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘
|
|
|
|
.PHONY: o/$(MODE)/third_party
|
|
o/$(MODE)/third_party: \
|
|
o/$(MODE)/third_party/chibicc \
|
|
o/$(MODE)/third_party/compiler_rt \
|
|
o/$(MODE)/third_party/dlmalloc \
|
|
o/$(MODE)/third_party/gdtoa \
|
|
o/$(MODE)/third_party/duktape \
|
|
o/$(MODE)/third_party/getopt \
|
|
o/$(MODE)/third_party/lz4cli \
|
|
o/$(MODE)/third_party/musl \
|
|
o/$(MODE)/third_party/regex \
|
|
o/$(MODE)/third_party/stb \
|
|
o/$(MODE)/third_party/xed \
|
|
o/$(MODE)/third_party/zlib
|