X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=tools%2FMakefile;fp=tools%2FMakefile;h=4164759f1a1b896e9ac2f3eb73f6e3f9d191b18f;hb=aac3f035c98d7800fde3eef7a43ded322e4862db;hp=0000000000000000000000000000000000000000;hpb=e994b20fed384f82a849a5254634c7809ec0f83a;p=apps%2Fmadmutt.git diff --git a/tools/Makefile b/tools/Makefile new file mode 100644 index 0000000..4164759 --- /dev/null +++ b/tools/Makefile @@ -0,0 +1,5 @@ +cpkg2c: cpkg2c.mll + ocamllex $< + $(if $(shell which ocamlopt),ocamlopt -o $@ str.cmxa,ocamlc -o $@ str.cma) $@.ml + @$(RM) cpkg2c.ml cpkg2c.c* cpkg2c.o +