X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=Makefile.frag;h=92a8d5410035efcec6fdabeedf78e69ba312d683;hp=64dd4a2fd44cbb82eda49c7ed9d3f3eae889985d;hb=fb8f7887c289ae74d6e8dd85d55ae09e6796e890;hpb=f76cbab7698c988217d56a96f3ef68005cddd5ec diff --git a/Makefile.frag b/Makefile.frag index 64dd4a2..92a8d54 100644 --- a/Makefile.frag +++ b/Makefile.frag @@ -1,10 +1,14 @@ -# 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 a "src" subdirectory PHP_PSI_HEADERS := $(addprefix $(PHP_PSI_BUILDDIR)/,$(PHP_PSI_HEADERS)) PHP_PSI_SOURCES := $(addprefix $(PHP_PSI_SRCDIR)/,$(PHP_PSI_SOURCES)) PHP_PSI_GENERATED:=$(addprefix $(PHP_PSI_SRCDIR)/,$(PHP_PSI_GENERATED)) +$(PHP_PSI_BUILDDIR)/calc: + mkdir -p $@ +$(PHP_PSI_BUILDDIR)/calc/%.h: $(PHP_PSI_SRCDIR)/src/calc/%.h | $(PHP_PSI_BUILDDIR)/calc + @cat >$@ <$< $(PHP_PSI_BUILDDIR)/types: mkdir -p $@ $(PHP_PSI_BUILDDIR)/types/%.h: $(PHP_PSI_SRCDIR)/src/types/%.h | $(PHP_PSI_BUILDDIR)/types