Pi66

sta
minimal & simple status monitoring app.
git clone https://git.pi66.xyz/sta

Makefile

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
build: config.h
    cc -w -o sta sta.c ./components/* -pthread

config.h:
    cp config.def.h config.h

install: build
    install -m 755 sta /usr/local/bin/sta

uninstall:
    rm -f /usr/local/bin/sta
clean:
    rm -f ./sta