Rename preprocessor directory.
[wrappi.git] / generator-macros / Makefile.am
similarity index 88%
rename from preprocessor/Makefile.am
rename to generator-macros/Makefile.am
index f0e8e93..85cdaa8 100644 (file)
@@ -20,10 +20,11 @@ OCAMLOPTFLAGS = $(OCAMLCFLAGS)
 
 noinst_SCRIPTS = pa_wrap.cmo
 
-pa_wrap.cmo: pa_wrap.ml wrappi_types.cmo
-       $(OCAMLFIND) ocamlc -I +camlp4 dynlink.cma camlp4lib.cma \
+pa_wrap.cmo: pa_wrap.ml ../generator-lib/generator_lib.cma
+       $(OCAMLFIND) ocamlc -I +camlp4 -I ../generator-lib \
+         dynlink.cma camlp4lib.cma generator_lib.cma \
          -pp $(CAMLP4OF) \
-         wrappi_types.cmo -c $< -o $@
+         -c $< -o $@
 
 %.cmi: %.mli
        $(OCAMLFIND) ocamlc $(OCAMLCFLAGS) -c $< -o $@