X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=generator%2FMakefile.am;h=3b0d6b4857077cadc3a8b8f85b75b54772795a39;hb=bb1329db94910f6739c839bee52177f1b3c4e695;hp=6cfc2c2fffe7cb4aaffd2ee8f96e37911a5c3a0f;hpb=69f262f6f48e4d47c176073a77f96dacb39c8b4f;p=wrappi.git diff --git a/generator/Makefile.am b/generator/Makefile.am index 6cfc2c2..3b0d6b4 100644 --- a/generator/Makefile.am +++ b/generator/Makefile.am @@ -15,9 +15,23 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX +OCAMLCFLAGS = -g -warn-error CDEFLMPSUVYZX -I ../generator-lib OCAMLOPTFLAGS = $(OCAMLCFLAGS) +# In alphabetical order. +SOURCES = wrappi_main.ml + +# In dependency order. +OBJECTS = wrappi_main.cmo + +noinst_SCRIPTS = generator + +generator: $(OBJECTS) ../generator-lib/generator_lib.cma ../APIs/apis.cma + $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) \ + ../generator-lib/generator_lib.cma ../APIs/apis.cma \ + $(OBJECTS) \ + -o $@ + %.cmi: %.mli $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) -c $< -o $@ %.cmo: %.ml