Add shellcheck task to Makefile

master
Miles Alan 4 years ago
parent f9e580106e
commit 1c8efb9950
  1. 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…
Cancel
Save