build: Move all SUFFIXES up to common-rules.mk.

They need to be available in all subdirectories.
This commit is contained in:
Richard W.M. Jones
2017-09-15 11:13:40 +01:00
parent 9ec726606c
commit c226656519
3 changed files with 6 additions and 4 deletions

View File

@@ -51,3 +51,9 @@ CLEANFILES += bindtests.tmp
# Files that should be universally removed by 'make distclean'.
DISTCLEANFILES = .depend stamp-*
# Special suffixes used by OCaml.
SUFFIXES = .cmo .cmi .cmx .ml .mli .mll .mly
# Special suffixes used by PO files.
SUFFIXES += .po .gmo

View File

@@ -207,5 +207,3 @@ stamp-generator: generator
CLEANFILES += $(noinst_DATA) $(noinst_PROGRAM)
DISTCLEANFILES += .pod2text.data.version.2
SUFFIXES = .cmo .cmi .cmx .ml .mli .mll .mly

View File

@@ -189,8 +189,6 @@ endif
$(top_builddir)/ocaml-dep.sh $^
-include .depend
SUFFIXES = .cmo .cmi .cmx .ml .mli .mll .mly
# Run ocamlfind to perform the install. ocamlfind refuses to install
# the package if it is already installed, so remove the old package
# first.