]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
add ragel compilation rule to recursor makefile to please the 'preferred form of...
authorbert hubert <bert.hubert@netherlabs.nl>
Tue, 27 May 2014 08:26:20 +0000 (10:26 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Tue, 27 May 2014 08:26:20 +0000 (10:26 +0200)
pdns/Makefile-recursor

index 50e8e29f9ee666ed05406b9a073812e54fc5b43d..300ff71ee1b32a17fc421bb40fe57a856efcffc4 100644 (file)
@@ -59,6 +59,9 @@ LDFLAGS += $(PROFILEFLAGS) $(STATICFLAGS)
 CXXFLAGS += -DSYSCONFDIR='"$(SYSCONFDIR)"' -DLOCALSTATEDIR='"$(LOCALSTATEDIR)"'
 CFLAGS += -DSYSCONFDIR='"$(SYSCONFDIR)"' -DLOCALSTATEDIR='"$(LOCALSTATEDIR)"'
 
+%.cc: %.rl
+       ragel $< -o $@
+
 # Version
 build_date=$(shell LC_TIME=C date '+%Y%m%d%H%M%S')
 build_host=$(shell id -u -n)@$(shell hostname -f)