File: Makefile.frag

package info (click to toggle)
php-raphf 2.0.1%2B1.1.2-14
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 360 kB
  • sloc: ansic: 1,350; xml: 131; php: 31; makefile: 1
file content (16 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# provide headers in builddir, so they do not end up in /usr/include/ext/raphf/src

PHP_RAPHF_HEADERS := $(addprefix $(PHP_RAPHF_BUILDDIR)/,$(PHP_RAPHF_HEADERS))

$(PHP_RAPHF_BUILDDIR)/%.h: $(PHP_RAPHF_SRCDIR)/src/%.h
	@cat >$@ <$<

$(all_targets): raphf-build-headers
clean: raphf-clean-headers

.PHONY: raphf-build-headers
raphf-build-headers: $(PHP_RAPHF_HEADERS)

.PHONY: raphf-clean-headers
raphf-clean-headers:
	-rm -f $(PHP_RAPHF_HEADERS)