link command printing
This commit is contained in:
parent
a6161aac9d
commit
8d4a91f852
@ -60,8 +60,8 @@ function link {
|
|||||||
local objects="$(find $OBJDIR -name '*.o')
|
local objects="$(find $OBJDIR -name '*.o')
|
||||||
$(find $OBJDIR -name '*.a')"
|
$(find $OBJDIR -name '*.a')"
|
||||||
printf "${BLUE}objects: ${GRAY}$objects\n"
|
printf "${BLUE}objects: ${GRAY}$objects\n"
|
||||||
local command="$CMP_CPP $args $(echo $objects | tr '\n' ' ') $LINK_LIBS -o $outfile"
|
local command="$CMP_CPP $args $(echo $objects | tr '\n' ' ') $LINK_LIBS -o $outfile"
|
||||||
printf "$command"
|
printf "$command\e"
|
||||||
if $command
|
if $command
|
||||||
then
|
then
|
||||||
printf "${GREEN}file $CYAN$outfile ${GREEN}created\n${GRAY}"
|
printf "${GREEN}file $CYAN$outfile ${GREEN}created\n${GRAY}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user