about summary refs log tree commit homepage
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index d309cdb..032807d 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -30,8 +30,8 @@ http11_deps := $(addprefix ext/unicorn/http11/, \
 inst_deps := $(wildcard bin/*) $(wildcard lib/*.rb) \
   $(wildcard lib/*/*.rb) $(http11_deps)
 
-ext/unicorn/http11/http11_parser.c: ext/unicorn/http11/http11_parser.rl
-        cd $(@D) && ragel $(<F) -C -G2 -o $(@F)
+ext/unicorn/http11/http11_parser.c: $(wildcard ext/unicorn/http11/*.rl)
+        cd $(@D) && ragel http11_parser.rl -C -G2 -o $(@F)
 ext/unicorn/http11/Makefile: ext/unicorn/http11/extconf.rb $(http11_deps)
         cd $(@D) && $(ruby) $(<F)
 ext/unicorn/http11/http11.$(DLEXT): ext/unicorn/http11/Makefile