X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=tools%2FMakefile;h=e05665328329b720e8ea831ea4124989300e535b;hp=ec3e8955061e3cdeec1aef19ebfd2f49b2a21ec7;hb=7db27b8f24670fd40cf24755f2782a104ad24594;hpb=2dc50decd320b310ef56c14041b6fa4fefd865ac diff --git a/tools/Makefile b/tools/Makefile index ec3e895..e056653 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,14 +1,5 @@ -# automake sucks, badly -all: ../lib-mime/mime-token.h \ - ../lib-lua/lua-token.h \ - ../lib-lua/madmutt.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