summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6b39193)
mandir=$(prefix)/share/man
sbindir=$(prefix)/sbin
sysconfdir=/etc
mandir=$(prefix)/share/man
sbindir=$(prefix)/sbin
sysconfdir=/etc
+OBJECTS=parsehosts.o parselogs.o prometheus.o
+HEADERS=cll1-0.6.2.h ipstruct.h
- $(CC) -o prometheus parsehosts.c parselogs.c prometheus.c
+
+%.o: %.c $(HEADERS)
+ gcc -c $< -o $@
+
+prometheus: $(OBJECTS)
+ $(CC) $(OBJECTS) -o prometheus
deb: main
debian/prometheus.debian
deb: main
debian/prometheus.debian
- rm -f optinal-tools/prometheus-stats