Skip to content
Snippets Groups Projects
Commit 3a6bbbf8 authored by erwan's avatar erwan
Browse files

use dune to compile

parent 4cf35589
No related branches found
No related tags found
No related merge requests found
.PHONY = build clean .PHONY = build clean
# default rule all:
build: ../bin/dot2lus cd ../.. ; make && make install
clean: clean:
rm -f *.cmx *.cmi *.o cd ../.. ; make clean
rm -f ../bin/dot2lus
-rmdir ../bin
../bin/dot2lus: dot2lus.ml
mkdir -p ../bin
ocamlfind ocamlopt -o ../bin/$@ -linkpkg -package sasacore $^
src/dune 0 → 100644
;; Time-stamp: <modified the 21/11/2021 (at 17:50) by Erwan Jahier>
(executable
(name dot2lus)
(flags -noassert)
(link_flags (-linkall))
(libraries ocamlgraph lutils sasacore algo)
)
(install
(section bin)
(package sasa)
(files (dot2lus.exe as salut))
; (files sasaRun.cmxa)
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment