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