projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace deprecated luaL_openlib() by luaL_register()
[apps/madmutt.git]
/
tools
/
Makefile
diff --git
a/tools/Makefile
b/tools/Makefile
index
b954231
..
e056653
100644
(file)
--- a/
tools/Makefile
+++ b/
tools/Makefile
@@
-1,19
+1,5
@@
-# automake sucks, badly
-all: ../lib-mime/mime-token.h \
- ../lib-mime/mime.li \
- ../lib-lua/lua-token.h \
- ../lib-lua/madmutt.li \
- ../alias.li \
- ../buffy.li \
- ../charset.li
-
-
-../%: ; $(MAKE) -C $(@D) $(@F)
-
cpkg2c: cpkg2c.mll
ocamllex $<
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
@$(RM) cpkg2c.ml cpkg2c.c* cpkg2c.o
-distclean clean:
- $(RM) cpkg2c