lib: clang-libraries top-level target.
This commit is contained in:
parent
835232d504
commit
0574bb5a63
3 changed files with 14 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -54,6 +54,9 @@ gnu-includes: includes
|
||||||
gnu-libraries: includes
|
gnu-libraries: includes
|
||||||
$(MAKE) -C lib build_gnu
|
$(MAKE) -C lib build_gnu
|
||||||
|
|
||||||
|
clang-libraries: includes
|
||||||
|
$(MAKE) -C lib build_clang
|
||||||
|
|
||||||
commands: includes libraries
|
commands: includes libraries
|
||||||
$(MAKE) -C commands all
|
$(MAKE) -C commands all
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,9 @@ build_ack:
|
||||||
build_gnu:
|
build_gnu:
|
||||||
sh gnu_build.sh obj depend all install
|
sh gnu_build.sh obj depend all install
|
||||||
|
|
||||||
|
build_clang:
|
||||||
|
sh clang_build.sh obj depend all install
|
||||||
|
|
||||||
clean_ack:
|
clean_ack:
|
||||||
sh ack_build.sh clean
|
sh ack_build.sh clean
|
||||||
|
|
||||||
|
|
8
lib/clang_build.sh
Executable file
8
lib/clang_build.sh
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
export CC=clang
|
||||||
|
export COMPILER_TYPE=gnu
|
||||||
|
export MAKEOBJDIR=obj-gnu
|
||||||
|
export PATH=$PATH:/usr/gnu/bin:/usr/llvm/bin
|
||||||
|
|
||||||
|
make $@
|
Loading…
Reference in a new issue