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

erwan's avatar
erwan committed
all:build man
build: setup.data src/lv6version.ml
	ocaml setup.ml -build          
erwan's avatar
erwan committed
-include ./Makefile.version
setup.ml:_oasis
	oasis setup
PROF=--enable-profile
PROF=--disable-profile
erwan's avatar
erwan committed
BINPATH=$(shell opam config var prefix)
erwan's avatar
erwan committed
	ocaml setup.ml -configure $(PROF)  --prefix $(BINPATH) 
erwan's avatar
erwan committed
install:
	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 -f setup.data
	rm -f src/lv6version.ml
Pascal Raymond's avatar
Pascal Raymond committed

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

erwan's avatar
erwan committed
	cd lv6-ref-man && make || echo "*** ref manual building failed"
# for developpers
include ./Makefile.dev