Attention une mise à jour du serveur va être effectuée le vendredi 16 avril entre 12h et 12h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit a620a3e3 authored by Guillaume Melquiond's avatar Guillaume Melquiond

Fix Makefiles when it comes to bench and examples.

parent 5fe1eb37
......@@ -6,11 +6,15 @@ ifeq ($(BENCH),yes)
WHY3SHARE=../../share
else
WHY3=$(BINDIR)/why3
WHY3SHARE=$(shell $WHY3 --print-datadir)
WHY3SHARE=$(shell $(WHY3) --print-datadir)
endif
include $(WHY3SHARE)/Makefile.config
ifeq ($(BENCH),yes)
INCLUDE += -I ../../lib/why3
endif
MAIN=main
OBJ=euler001__Euler001
......
......@@ -6,11 +6,15 @@ ifeq ($(BENCH),yes)
WHY3SHARE=../../share
else
WHY3=$(BINDIR)/why3
WHY3SHARE=$(shell $WHY3 --print-datadir)
WHY3SHARE=$(shell $(WHY3) --print-datadir)
endif
include $(WHY3SHARE)/Makefile.config
ifeq ($(BENCH),yes)
INCLUDE += -I ../../lib/why3
endif
MAIN = main
OBJ = sudoku__Grid sudoku__TheClassicalSudokuGrid sudoku__Solver
......
......@@ -6,11 +6,15 @@ ifeq ($(BENCH),yes)
WHY3SHARE=../../share
else
WHY3=$(BINDIR)/why3
WHY3SHARE=$(shell $WHY3 --print-datadir)
WHY3SHARE=$(shell $(WHY3) --print-datadir)
endif
include $(WHY3SHARE)/Makefile.config
ifeq ($(BENCH),yes)
INCLUDE += -I ../../lib/why3
endif
MAIN=main
OBJ=vstte10_max_sum__MaxAndSum2 vstte10_max_sum__TestCase
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment