Add shellcheck task to Makefile
This commit is contained in:
parent
f9e580106e
commit
1c8efb9950
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -1,5 +1,10 @@
|
|||
PREFIX:=/
|
||||
|
||||
.PHONY: install shellcheck
|
||||
|
||||
shellcheck:
|
||||
shellcheck scripts/*/*
|
||||
|
||||
programs/sxmo_setpineled:
|
||||
gcc -o programs/sxmo_setpineled programs/sxmo_setpineled.c
|
||||
|
||||
|
@ -15,7 +20,6 @@ programs/sxmo_megiaudioroute:
|
|||
programs/sxmo_vibratepine:
|
||||
gcc -o programs/sxmo_vibratepine programs/sxmo_vibratepine.c
|
||||
|
||||
|
||||
install: programs/sxmo_setpineled programs/sxmo_setpinebacklight programs/sxmo_screenlock programs/sxmo_megiaudioroute programs/sxmo_vibratepine
|
||||
mkdir -p $(PREFIX)/usr/share/sxmo
|
||||
cp configs/* $(PREFIX)/usr/share/sxmo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue