
and minor fixes: . add ack/clean target to lib, 'unify' clean target . add includes as library dependency . mk: exclude warning options clang doesn't have in non-gcc . set -e in lib/*.sh build files . clang compile error circumvention (disable NOASSERTS for release builds)
11 lines
131 B
Bash
Executable File
11 lines
131 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
export CC=clang
|
|
export COMPILER_TYPE=gnu
|
|
export MAKEOBJDIR=obj-elf-base
|
|
export PATH=$PATH:/usr/pkg/bin
|
|
|
|
make $@
|