File: Makefile

package info (click to toggle)
pcre2-ocaml 8.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 376 kB
  • sloc: ml: 2,626; ansic: 562; makefile: 44
file content (11 lines) | stat: -rw-r--r-- 249 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
NOT_OCAMLFIND=not-ocamlfind

bootstrap: ../test/pcre2_tests.ml

../test/%.ml: %.ml
	$(NOT_OCAMLFIND) preprocess \
		-package pa_ppx_regexp,camlp5.pr_o -ppopt -pa_ppx_regexp-nostatic \
		-syntax camlp5o $< > $@.NEW && \
	mv $@.NEW $@

.SUFFIXES: .ml