sysmond/Makefile.am

14 lines
338 B
Makefile
Raw Normal View History

2021-02-03 12:40:43 +01:00
AUTOMAKE_OPTIONS = foreign
AM_CPPFLAGS = -W -Wall -g -std=c99 -DPREFIX="\"$(prefix)\""
# bin
bin_PROGRAMS = sysmond
# source files
sysmond_SOURCES = ini.c sysmon.c
sysconf_DATA = sysmond.conf
install-data-local:
- [ -d /etc/systemd/system/ ] && cp sysmond.service /etc/systemd/system/
EXTRA_DIST = ini.h sysmond.conf sysmond.service