Skip to content
Snippets Groups Projects
Makefile 825 B
Newer Older
Erwan Jahier's avatar
Erwan Jahier committed

all:build
build: setup.data src/lv6version.ml
	ocaml setup.ml -build          
setup.ml:_oasis
	oasis setup
PROF=--enable-profile
PROF=--disable-profile
BINPATH=$(shell dirname `which ocamlc`)/..
LIBPATH=$(shell ocamlc -where)/../lustre-v6/
	ocaml setup.ml -configure $(PROF)  --prefix $(BINPATH) --exec-prefix $(BINPATH)
install:install-man
	ocaml setup.ml -install
Pascal Raymond's avatar
Pascal Raymond committed

uninstall:
	ocaml setup.ml -uninstall
Pascal Raymond's avatar
Pascal Raymond committed

reinstall:
	ocaml setup.ml -reinstall
Pascal Raymond's avatar
Pascal Raymond committed

clean:
	ocaml setup.ml -clean
	rm setup.data
Pascal Raymond's avatar
Pascal Raymond committed

distclean:
	ocaml setup.ml -distclean
Pascal Raymond's avatar
Pascal Raymond committed

man:
	cd lv6-ref-man && make

install-man: man
	cp lv6-ref-man/lv6-ref-man.pdf $(LIBPATH) || true
# for developpers
include ./Makefile.dev