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

Makefiles refactoring

parent 846ddb10
No related branches found
No related tags found
No related merge requests found
test:
cd dijkstra-ring/ && make
cd unison/ && make
clean:
cd dijkstra-ring/ && make clean
cd unison/ && make clean
# Time-stamp: <modified the 07/03/2019 (at 14:27) by Erwan>
DIR=~/sasa/_build/install/default
sasa=$(DIR)/bin/sasa
# LIB=-I $(DIR)/lib/algo $(DIR)/lib/algo/algo.cmxa
MLI=-I $(DIR)/lib/algo
%.cmxs: %.ml
ocamlopt -shared $(MLI) $^ -o $@
clean:
rm -f *.cmxs sasa *.cmi *.o *.cmx *.pdf
# Time-stamp: <modified the 07/03/2019 (at 14:29) by Erwan>
DIR=~/sasa/_build/install/default
sasa=$(DIR)/bin/sasa
# LIB=-I $(DIR)/lib/algo $(DIR)/lib/algo/algo.cmxa
MLI=-I $(DIR)/lib/algo
%.cmxs: %.ml
ocamlopt -shared $(MLI) $^ -o $@
test: ring.cmxs ringroot.cmxs test: ring.cmxs ringroot.cmxs
$(sasa) ring.dot $(sasa) ring.dot
clean: -include ../Makefile.inc
rm -f *.cmxs sasa *.cmi *.o *.cmx *.pdf
# Time-stamp: <modified the 07/03/2019 (at 14:29) by Erwan>
DIR=~/sasa/_build/install/default
sasa=$(DIR)/bin/sasa
# LIB=-I $(DIR)/lib/algo $(DIR)/lib/algo/algo.cmxa
MLI=-I $(DIR)/lib/algo
%.cmxs: %.ml
ocamlopt -shared $(MLI) $^ -o $@
test: unison.cmxs test: unison.cmxs
$(sasa) ring.dot $(sasa) -l 200 ring.dot
-include ../Makefile.inc
clean:
rm -f *.cmxs sasa *.cmi *.o *.cmx *.pdf
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