projects
/
pdns
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acd45a5
)
Use an explit rule to turn ragel into C++
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 13 Feb 2015 13:30:55 +0000
(14:30 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 13 Feb 2015 13:30:55 +0000
(14:30 +0100)
The implicit rule causes Make to search for a .rl
file for each .cc file
pdns/Makefile-recursor
patch
|
blob
|
history
diff --git
a/pdns/Makefile-recursor
b/pdns/Makefile-recursor
index cbee61e760d5cea63fabe3fe879e96e31b5dca53..3aa0a0ed8226afd03ac2bb22e93f9a12f87de2d6 100644
(file)
--- a/
pdns/Makefile-recursor
+++ b/
pdns/Makefile-recursor
@@
-66,7
+66,7
@@
LDFLAGS += $(PROFILEFLAGS) $(STATICFLAGS)
CXXFLAGS += -DSYSCONFDIR='"$(SYSCONFDIR)"' -DLOCALSTATEDIR='"$(LOCALSTATEDIR)"'
CFLAGS += -DSYSCONFDIR='"$(SYSCONFDIR)"' -DLOCALSTATEDIR='"$(LOCALSTATEDIR)"'
-
%.cc: %
.rl
+
dnslabeltext.cc: dnslabeltext
.rl
ragel $< -o $@
# Version