about summary refs log tree commit homepage
path: root/GNUmakefile
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-04-21 11:14:37 -0700
committerEric Wong <normalperson@yhbt.net>2009-04-21 11:16:19 -0700
commit6f3eb7a75d14d4b4af7ffa248bb2700e03575c10 (patch)
treef096252eafe45f2732719c1cff20c36f6639fb4c /GNUmakefile
parent633e207944fe25685f18c1095371d04b16c22999 (diff)
downloadunicorn-6f3eb7a75d14d4b4af7ffa248bb2700e03575c10.tar.gz
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