Commit | Line | Data |
---|---|---|
a4f661fc | 1 | PACKAGE=prometheus |
0c419f83 | 2 | VERSION=0.7.7 |
a4f661fc | 3 | CFLAGS=-Wall |
4 | prefix=/usr | |
5 | mandir=$(prefix)/share/man | |
6 | bindir=$(prefix)/sbin | |
0c419f83 | 7 | crondir=/etc/cron.d |
a4f661fc | 8 | |
9 | main: prometheus | |
10 | $(CC) -o prometheus prometheus.c | |
11 | ||
12 | install: main | |
13 | install -d $(bindir) | |
14 | install -m 755 prometheus $(bindir) | |
0c419f83 | 15 | install -m 755 sample_config/prometheus.cron $(crondir)/prometheus |
a4f661fc | 16 | |
17 | clean: | |
18 | rm -f prometheus |