X-Git-Url: http://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=Makefile;h=5f3a608531644f255fbc4d231dcaba0fb9defd01;hp=767f430c37dcba3cfbfd312c82290f4dad878fa6;hb=67120c6224470998a5f772a8e1e3ebda3203aade;hpb=45ae1b123a1bcaefc39fb1d9bb0217147916fb97 diff --git a/Makefile b/Makefile index 767f430..5f3a608 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,20 @@ PACKAGE=prometheus -VERSION=0.7.8 +VERSION=0.8.2 CFLAGS=-std=c99 -Wall prefix=/usr mandir=$(prefix)/share/man sbindir=$(prefix)/sbin sysconfdir=/etc +OBJECTS=parsehosts.o networks.o parseiptables.o parselogs.o ipv4subnets.o ipv6subnets.o json.o htmlandlogs.o help.o prometheus.o +HEADERS=cll1-0.6.2.h ipstruct.h main: prometheus - $(CC) -o prometheus prometheus.c + +%.o: %.c $(HEADERS) + gcc -c $< -o $@ + +prometheus: $(OBJECTS) + $(CC) $(OBJECTS) -o prometheus deb: main debian/prometheus.debian @@ -38,4 +45,4 @@ install: main clean: rm -f prometheus - rm -f optinal-tools/prometheus-stats + rm -f $(OBJECTS)