diff --git a/src/sgit/Makefile b/src/sgit/Makefile index 9c84c5de4..38fc4666a 100644 --- a/src/sgit/Makefile +++ b/src/sgit/Makefile @@ -21,6 +21,7 @@ CP= cp INSTALL= install RM= rm SHELL= bash +SHELLCHECK= shellcheck #CFLAGS= -O3 -g3 --pedantic -Wall -Werror CFLAGS= -O3 -g3 --pedantic -Wall @@ -45,6 +46,10 @@ winner_name: winner_name.sh ${CP} -f -v $? $@ ${CHMOD} +x $@ + +shellcheck: sgit.sh + @${SHELLCHECK} sgit.sh + ################################################# # .PHONY list of rules that do not create files # #################################################