projects
/
rrq
/
rrqmisc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reorg fixup
[rrq/rrqmisc.git]
/
socket-sniff
/
Makefile
diff --git
a/socket-sniff/Makefile
b/socket-sniff/Makefile
index e86108ff4d63e5ee2055620aee326e8a07f191b8..988819577caad1fcae5665d55e5fb5c8ed0e022f 100644
(file)
--- a/
socket-sniff/Makefile
+++ b/
socket-sniff/Makefile
@@
-1,11
+1,12
@@
default: socket-sniff
default: socket-sniff
-RRQLIBS =
typing vector
+RRQLIBS =
vector typing
INCDIRS = $(addprefix -I../,$(RRQLIBS))
INCDIRS = $(addprefix -I../,$(RRQLIBS))
+$(foreach L,$(RRQLIBS),$(eval LDLIBS += -L../$L -lrrq$L))
CFLAGS = -Wall $(INCDIRS)
CFLAGS += -g -fmax-errors=1
CFLAGS = -Wall $(INCDIRS)
CFLAGS += -g -fmax-errors=1
-LDLIBS
= -L../vector -lvector
-lm
+LDLIBS
+=
-lm
.INTERMEDIATE: socket-sniff.o
.INTERMEDIATE: socket-sniff.o