From 0574bb5a63d1240043ee618cab201561dff013a5 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 13 Jul 2010 14:11:31 +0000 Subject: [PATCH] lib: clang-libraries top-level target. --- Makefile | 3 +++ lib/Makefile | 3 +++ lib/clang_build.sh | 8 ++++++++ 3 files changed, 14 insertions(+) create mode 100755 lib/clang_build.sh diff --git a/Makefile b/Makefile index d7538e19f..54e0b559a 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/lib/Makefile b/lib/Makefile index 620ea1123..58bcb2de8 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -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 diff --git a/lib/clang_build.sh b/lib/clang_build.sh new file mode 100755 index 000000000..08fe496af --- /dev/null +++ b/lib/clang_build.sh @@ -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 $@ -- 2.44.0