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
now we will have real Makefile
[svn/Prometheus-QoS/.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 05d120be51d29048e01b4c6ada3a85c87510a702..1719e109ae75b7029548e84f0f51222889b3168a 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 parselogs.o prometheus.o
+HEADERS=cll1-0.6.2.h ipstruct.h
main: prometheus
main: prometheus
- $(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
@@
-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.111232 seconds
and
4
git commands to generate.