GIT.Harvie.CZ
/
svn
/
Prometheus-QoS
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
basic ipset support for qos-free-zone
[svn/Prometheus-QoS/.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index eb33db8cc99219cfdf1a56aeca7431d7246cb75f..a926c5721468db134e120b7472712627f05ee91a 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,17
+1,24
@@
PACKAGE=prometheus
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
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 utils.o prometheus.o
+HEADERS=cll1-0.6.2.h ipstruct.h
main: prometheus
main: prometheus
- $(CC) -o prometheus prometheus.c
+
+%.o: %.c $(HEADERS)
+ gcc -c $< -o $@
+
+prometheus: $(OBJECTS)
+ $(CC) $(OBJECTS) -o prometheus
deb: main
debian/prometheus.debian
deb: main
debian/prometheus.debian
- dpkg-buildpackage
+ dpkg-buildpackage
-rfakeroot
tgz: clean
cp -r . ../$(PACKAGE)-$(VERSION)
tgz: clean
cp -r . ../$(PACKAGE)-$(VERSION)
@@
-38,4
+45,4
@@
install: main
clean:
rm -f prometheus
clean:
rm -f prometheus
- rm -f
optinal-tools/prometheus-stats
+ rm -f
$(OBJECTS)
This page took
0.095522 seconds
and
4
git commands to generate.