X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=Makefile.frag;h=5ca422e257b0096458bf4aaaee061172a8500e69;hp=7df00add0280ba49acdd93135008d391bc1d86ec;hb=3b44aae43e81d56d0686d2dee8b1ded3c277f2fd;hpb=42f44eb5bf4ecd36e26e051fada79d861d0f92d2 diff --git a/Makefile.frag b/Makefile.frag index 7df00ad..5ca422e 100644 --- a/Makefile.frag +++ b/Makefile.frag @@ -1,4 +1,5 @@ -git# provide headers in builddir, so they do not end up in /usr/include/ext/psi/src + +# provide headers in builddir, so they do not end up in /usr/include/ext/psi/src PHP_PSI_HEADERS := $(addprefix $(PHP_PSI_BUILDDIR)/,$(PHP_PSI_HEADERS)) PHP_PSI_SOURCES := $(addprefix $(PHP_PSI_SRCDIR)/,$(PHP_PSI_SOURCES)) @@ -21,7 +22,7 @@ $(PHP_PSI_SRCDIR)/src/parser.re: $(PHP_PSI_SRCDIR)/src/parser_proc.h touch $@ $(PHP_PSI_SRCDIR)/src/parser.c: $(PHP_PSI_SRCDIR)/src/parser.re # trickery needed for relative #line directives - cd $(PHP_PSI_SRCDIR) && $(RE2C) -W -o $(patsubst $(PHP_PSI_SRCDIR)/%,%,$@) $(patsubst $(PHP_PSI_SRCDIR)/%,%,$<) + cd $(PHP_PSI_SRCDIR) && $(RE2C) -o $(patsubst $(PHP_PSI_SRCDIR)/%,%,$@) $(patsubst $(PHP_PSI_SRCDIR)/%,%,$<) $(PHP_PSI_SRCDIR)/src/calc/%.h: $(PHP_PSI_SRCDIR)/scripts/gen_calc_%.php $(PHP_EXECUTABLE) $< >$@