18 lines
398 B
Bash
18 lines
398 B
Bash
#!/bin/bash
|
|
|
|
source build_scripts/init.sh
|
|
|
|
print "${CYAN}=============[build_dbg]==============\n"
|
|
clear_dir "$OUTDIR"
|
|
clear_dir "$OBJDIR"
|
|
|
|
cd kerep
|
|
make build_static_lib_dbg
|
|
cp bin/kerep.a ../obj/
|
|
printf "${GREEN}copied ${CYAN}kerep.a\n"
|
|
cd ..
|
|
|
|
compile_c "$BUILD_DBG_C_ARGS" "$SRC_C"
|
|
compile_cpp "$BUILD_DBG_CPP_ARGS" "$SRC_CPP"
|
|
link "$BUILD_DBG_CPP_ARGS $BUILD_DBG_LINKER_ARGS" "$BUILD_DBG_FILE"
|