X-Git-Url: http://git.annexia.org/?p=whenjobs.git;a=blobdiff_plain;f=tests%2Fparsing%2FMakefile.am;h=04681cb9ec7359815b52c8f6a99fcea5316ffb84;hp=021a36542ceb2b4c034f49189bf58eea3a7d9488;hb=2c4a2cfe64541fe32933a84f1539655b3611d2e5;hpb=96dafd93a7561d81005ec9a710970440cbf2181a diff --git a/tests/parsing/Makefile.am b/tests/parsing/Makefile.am index 021a365..04681cb 100644 --- a/tests/parsing/Makefile.am +++ b/tests/parsing/Makefile.am @@ -15,7 +15,16 @@ # 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 \ + t040_ocaml_jobnames.ml \ + t050_cleanups.ml + +tests = $(SOURCES:.ml=.cmo) check_SCRIPTS = test_load $(tests) @@ -35,7 +44,7 @@ test_load: test_load.cmo ../../lib/whenlib.cma # Rules for all OCaml files. %.cmi: %.mli $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) $(PP) -c $< -o $@ -%.cmo: %.ml +%.cmo: %.ml ../../lib/whenlib.cma $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) $(PP) -c $< -o $@ #%.cmx: %.ml # $(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) $(PP) -c $< -o $@