Newer
Older
all:build
build: setup.data src/lv6version.ml
include ./Makefile.version
setup.ml:_oasis
oasis setup
PROF=--enable-profile
PROF=--disable-profile
Erwan Jahier
committed
BINPATH=$(shell dirname `which ocamlc`)/..
LIBPATH=$(shell ocamlc -where)/../lustre-v6/
setup.data:setup.ml
Erwan Jahier
committed
ocaml setup.ml -configure $(PROF) --prefix $(BINPATH) --exec-prefix $(BINPATH)
ocaml setup.ml -install
uninstall:
ocaml setup.ml -uninstall
reinstall:
ocaml setup.ml -reinstall
clean:
ocaml setup.ml -clean
rm src/lv6version.ml
distclean:
ocaml setup.ml -distclean
man:
cd lv6-ref-man && make
install-man: man
cp lv6-ref-man/lv6-ref-man.pdf $(LIBPATH) || true
###############################
# for developpers
include ./Makefile.dev
# not gitted stuff
-include ./Makefile.local