X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=tools%2FMakefile;h=e05665328329b720e8ea831ea4124989300e535b;hp=2a279aa0cbee2c5435a56dc5d0b8b94a1c1057aa;hb=9b87576a7ebf2e52a7ca6a0e2dba12fa24bd34dd;hpb=c9f72ab0cd65f517a2047feb942ad85025c1b7e8 diff --git a/tools/Makefile b/tools/Makefile index 2a279aa..e056653 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,17 +1,5 @@ -# automake sucks, badly -all: ../lib-mime/mime-token.h \ - ../lib-mime/mime.li \ - ../lib-lua/lua-token.h \ - ../lib-lua/madmutt.li \ - ../charset.li \ - ../buffy.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 -clean: - $(RM) cpkg2c