mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add colorful display for make.
This commit is contained in:
parent
40a5edb37f
commit
e14d3bb5df
1 changed files with 13 additions and 0 deletions
13
trunk/configure
vendored
13
trunk/configure
vendored
|
@ -43,7 +43,20 @@ echo "generate Makefile"
|
|||
SRS_MAKEFILE="Makefile"
|
||||
cat << END > ${SRS_MAKEFILE}
|
||||
.PHONY: default help clean server bandwidth librtmp librtmp-sample _prepare_dir
|
||||
|
||||
RED="\\\\e[31m"
|
||||
GREEN="\\\\e[32m"
|
||||
YELLOW="\\\\e[33m"
|
||||
BLACK="\\\\e[0m"
|
||||
|
||||
default: server bandwidth librtmp librtmp-sample
|
||||
@echo -e "\$(GREEN)"
|
||||
@echo -e "build success:"
|
||||
@echo -e " server: ./objs/srs, the srs server"
|
||||
@echo -e " bandwidth: ./objs/bandwidth, the bandwidth test client"
|
||||
@echo -e " librtmp: ./objs/include, ./objs/lib, the srs-librtmp library"
|
||||
@echo -e " librtmp-sample: ./research/librtmp, the srs-librtmp client sample"
|
||||
@echo -e "\$(BLACK)"
|
||||
|
||||
help:
|
||||
@echo "Usage: make <help>|<clean>|<server>|<bandwidth>|<librtmp>|<librtmp-sample>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue