X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=Makefile.frag;h=0f572d1d8b4a64fa88fb80e52ec7058afdd30aab;hb=22b4a95d8fd6525e4539f843ba5bebb9a56e89f2;hp=79af1be30d759bc6147f83426290a480754da552;hpb=94fbd01435494508cb54d6321c7d745b94949475;p=m6w6%2Fext-psi diff --git a/Makefile.frag b/Makefile.frag index 79af1be..0f572d1 100644 --- a/Makefile.frag +++ b/Makefile.frag @@ -22,9 +22,14 @@ lemon.c: curl -sSo $@ "http://www.sqlite.org/src/raw/tool/lemon.c?name=039f813b520b9395740c52f9cbf36c90b5d8df03" ./lemon: lemon.c | lempar.c + $(CC) -o $@ $< +$(PHP_PSI_SRCDIR)/src/parser_proc.y: $(PHP_PSI_BUILDDIR)/parser.h + touch $@ $(PHP_PSI_SRCDIR)/src/parser_proc.c: $(PHP_PSI_SRCDIR)/src/parser_proc.y $(LEMON) $(LEMON) -c $< +$(PHP_PSI_SRCDIR)/src/parser.re: $(PHP_PSI_BUILDDIR)/parser.h $(PHP_PSI_BUILDDIR)/parser_proc.h + touch $@ $(PHP_PSI_SRCDIR)/src/parser.c: $(PHP_PSI_SRCDIR)/src/parser.re $(RE2C) -o $@ $<