prepare the ssl module.
[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      ../buffy.li              \
9      ../charset.li
10
11
12 ../%: ; $(MAKE) -C $(@D) $(@F)
13
14 cpkg2c: cpkg2c.mll
15         ocamllex $<
16         $(if $(shell which ocamlopt),ocamlopt -o $@ str.cmxa,ocamlc -o $@ str.cma) $@.ml
17         @$(RM) cpkg2c.ml cpkg2c.c* cpkg2c.o
18
19 distclean clean:
20         $(RM) cpkg2c