changes for detecting and building for clang/binutils elf
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)
This commit is contained in:
24
lib/Makefile
24
lib/Makefile
@@ -18,23 +18,17 @@ SUBDIR+= libend
|
||||
build_ack:
|
||||
sh ack_build.sh obj depend all install
|
||||
|
||||
.if defined(MINIX_GENERATE_ELF)
|
||||
build_elf_base:
|
||||
sh elf_build_base.sh obj depend all install
|
||||
.else
|
||||
build_gnu:
|
||||
sh gnu_build.sh obj depend all install
|
||||
.endif
|
||||
|
||||
build_clang:
|
||||
sh clang_build.sh obj depend all install
|
||||
|
||||
build_elf:
|
||||
sh elf_build.sh obj depend all install
|
||||
|
||||
clean_ack:
|
||||
clean_all:
|
||||
sh ack_build.sh clean
|
||||
|
||||
clean_gnu:
|
||||
sh gnu_build.sh clean
|
||||
|
||||
clean_elf:
|
||||
sh elf_build.sh clean
|
||||
|
||||
clean_clang:
|
||||
sh clang_build.sh clean
|
||||
sh gnu_build.sh clean
|
||||
sh elf_build_base.sh clean
|
||||
sh elf_build.sh clean
|
||||
|
||||
Reference in New Issue
Block a user