Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a620a3e3 authored by Guillaume Melquiond's avatar Guillaume Melquiond
Browse files

Fix Makefiles when it comes to bench and examples.

parent 5fe1eb37
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment