projects
/
apps
/
madmutt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Reinstate some lost functions.
[apps/madmutt.git]
/
tools
/
Makefile
1
# automake sucks, badly
2
all: ../lib-mime/mime-token.h \
3
../lib-lua/lua-token.h \
4
../lib-lua/madmutt.li
5
6
../%: ; $(MAKE) -C $(@D) $(@F)
7
8
cpkg2c: cpkg2c.mll
9
ocamllex $<
10
$(if $(shell which ocamlopt),ocamlopt -o $@ str.cmxa,ocamlc -o $@ str.cma) $@.ml
11
@$(RM) cpkg2c.ml cpkg2c.c* cpkg2c.o
12
13
clean:
14
$(RM) cpkg2c