Move many things to the crypt module \o/
[apps/madmutt.git] / tools / Makefile
1 # automake sucks, badly
2 all: ../lib-mime/mime-token.h \
3      ../lib-mime/mime.li      \
4      ../lib-lua/lua-token.h   \
5      ../lib-lua/madmutt.li    \
6      ../lib-sys/mutt_ssl.li   \
7      ../alias.li              \
8      ../crypt.li              \
9      ../buffy.li              \
10      ../charset.li
11
12
13 ../%: ; $(MAKE) -C $(@D) $(@F)
14
15 cpkg2c: cpkg2c.mll
16         ocamllex $<
17         $(if $(shell which ocamlopt),ocamlopt -o $@ str.cmxa,ocamlc -o $@ str.cma) $@.ml
18         @$(RM) cpkg2c.ml cpkg2c.c* cpkg2c.o
19
20 distclean clean:
21         $(RM) cpkg2c