X-Git-Url: http://git.annexia.org/?p=whenjobs.git;a=blobdiff_plain;f=tests%2Fparsing%2FMakefile.am;h=fe224dab7e48b7ca6e91c1683c7fe93d14c5b871;hp=bf83ab83a86c2f02aa18ae336f40fdcb41dfaae3;hb=0bfe72d06b55b0db076c900c6c2173b59c8b75f3;hpb=96dc3423bc3675797f59c7b582110845ce7a8bf6 diff --git a/tests/parsing/Makefile.am b/tests/parsing/Makefile.am index bf83ab8..fe224da 100644 --- a/tests/parsing/Makefile.am +++ b/tests/parsing/Makefile.am @@ -15,7 +15,11 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -tests = t010_load.cmo t020_simple.cmo t030_jobnames.cmo +EXTRA_DIST = $(SOURCES) test_load.ml + +SOURCES = t010_load.ml t020_simple.ml t030_jobnames.ml + +tests = $(SOURCES:.ml=.cmo) check_SCRIPTS = test_load $(tests) @@ -33,11 +37,11 @@ test_load: test_load.cmo ../../lib/whenlib.cma $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) -linkpkg whenlib.cma $< -o $@ # Rules for all OCaml files. -%.cmi: %.mli ../../lib/pa_when.cmo ../../lib/whenlib.cma +%.cmi: %.mli $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) $(PP) -c $< -o $@ -%.cmo: %.ml ../../lib/pa_when.cmo ../../lib/whenlib.cma +%.cmo: %.ml $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) $(PP) -c $< -o $@ -#%.cmx: %.ml ../../lib/pa_when.cmo ../../lib/whenlib.cma +#%.cmx: %.ml # $(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) $(PP) -c $< -o $@ SUFFIXES = .cmo .cmi .cmx .ml .mli .mll .mly