hop-2012/Makefile

17 lines
226 B
Makefile
Raw Normal View History

2012-01-08 17:41:04 +00:00
APP=ocamlmsg
all: message.ml $(APP).native
message.ml: messages.json codegen.py
python codegen.py > $@
clean:
ocamlbuild -clean
rm -f message.ml
$(APP).native: $(wildcard *.ml)
ocamlbuild $@
run: all
./$(APP).native