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