X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=tools%2FMakefile;h=e05665328329b720e8ea831ea4124989300e535b;hp=6b5625acd5782fff166a73b47e3a4a2fcde440d5;hb=00f34116b32751764d42f81159c292d850c74bac;hpb=3bb9d26e7eb111656d716e34d81225dfb16b6c4b diff --git a/tools/Makefile b/tools/Makefile index 6b5625a..e056653 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,20 +1,5 @@ -# automake sucks, badly -all: ../lib-mime/mime-token.h \ - ../lib-mime/mime.li \ - ../lib-lua/lua-token.h \ - ../lib-lua/madmutt.li \ - ../lib-sys/mutt_ssl.li \ - ../alias.li \ - ../buffy.li \ - ../charset.li - - -../%: ; $(MAKE) -C $(@D) $(@F) - cpkg2c: cpkg2c.mll ocamllex $< - $(if $(shell which ocamlopt),ocamlopt -o $@ str.cmxa,ocamlc -o $@ str.cma) $@.ml + $(if $(shell which ocamlopt),ocamlopt -o $@ str.cmxa unix.cmxa,ocamlc -o $@ str.cma unix.cma) $@.ml @$(RM) cpkg2c.ml cpkg2c.c* cpkg2c.o -distclean clean: - $(RM) cpkg2c