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
preliminary ipv6 support - not tested
[svn/Prometheus-QoS/.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 2145cfb07afb23c8f8b7bd459961e22ab79995f9..0ca93d5cd3b21ef3d869194d64526361bc48d543 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,9
+5,16
@@
prefix=/usr
mandir=$(prefix)/share/man
sbindir=$(prefix)/sbin
sysconfdir=/etc
mandir=$(prefix)/share/man
sbindir=$(prefix)/sbin
sysconfdir=/etc
+OBJECTS=parsehosts.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
main: prometheus
- $(CC) -o prometheus parselog.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
@@
-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.114754 seconds
and
4
git commands to generate.