lib: clang-libraries top-level target.

This commit is contained in:
Ben Gras 2010-07-13 14:11:31 +00:00
parent 835232d504
commit 0574bb5a63
3 changed files with 14 additions and 0 deletions

View file

@ -54,6 +54,9 @@ gnu-includes: includes
gnu-libraries: includes
$(MAKE) -C lib build_gnu
clang-libraries: includes
$(MAKE) -C lib build_clang
commands: includes libraries
$(MAKE) -C commands all

View file

@ -15,6 +15,9 @@ build_ack:
build_gnu:
sh gnu_build.sh obj depend all install
build_clang:
sh clang_build.sh obj depend all install
clean_ack:
sh ack_build.sh clean

8
lib/clang_build.sh Executable file
View 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 $@