]> granicus.if.org Git - pdns/commitdiff
Use an explit rule to turn ragel into C++
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 13 Feb 2015 13:30:55 +0000 (14:30 +0100)
committerRuben 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

index cbee61e760d5cea63fabe3fe879e96e31b5dca53..3aa0a0ed8226afd03ac2bb22e93f9a12f87de2d6 100644 (file)
@@ -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