29 lines
458 B
Markdown
29 lines
458 B
Markdown
# UnoMonD
|
|
|
|
This is the C version of the bash script that also handles IR codes.
|
|
|
|
It has a configuration file that is used to define pretty much everthing.
|
|
|
|
|
|
## Requires
|
|
|
|
gcc
|
|
libconfig (https://hyperrealm.github.io/libconfig/)
|
|
|
|
|
|
## Compiling
|
|
|
|
~~~
|
|
#!/bin/sh
|
|
CC="gcc"
|
|
|
|
# Debug -Wconversion
|
|
CFLAGS="-Wall -Wextra -g -I. -I/usr/include -lconfig"
|
|
|
|
# Release
|
|
#CFLAGS="-O2 -s -I. -I/usr/include -lconfig"
|
|
|
|
$CC monitor_daemon.c gather_stats.c $CFLAGS -o unomond
|
|
~~~
|
|
|