You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
642 B
23 lines
642 B
5 years ago
|
PREFIX:=/usr
|
||
|
|
||
|
programs/sxmo_setpineled:
|
||
|
gcc -o programs/sxmo_setpineled programs/sxmo_setpineled.c
|
||
|
|
||
|
programs/sxmo_setpinebacklight:
|
||
|
gcc -o programs/sxmo_setpinebacklight programs/sxmo_setpinebacklight.c
|
||
|
|
||
|
install: programs/sxmo_setpineled programs/sxmo_setpinebacklight
|
||
|
mkdir -p $(PREFIX)/share/sxmo
|
||
|
cp configs/* $(PREFIX)/share/sxmo
|
||
|
|
||
|
mkdir -p $(PREFIX)/bin
|
||
|
cp scripts/* $(PREFIX)/bin
|
||
|
|
||
|
chown root programs/sxmo_setpineled
|
||
|
chmod u+s programs/sxmo_setpineled
|
||
|
cp programs/sxmo_setpineled $(PREFIX)/bin
|
||
|
|
||
|
chown root programs/sxmo_setpinebacklight
|
||
|
chmod u+s programs/sxmo_setpinebacklight
|
||
|
cp programs/sxmo_setpinebacklight $(PREFIX)/bin
|