| 1 |
########################################################################## |
| 2 |
# # |
| 3 |
# This file is part of Frama-C. # |
| 4 |
# # |
| 5 |
# Copyright (C) 2007-2022 # |
| 6 |
# CEA (Commissariat à l'énergie atomique et aux énergies # |
| 7 |
# alternatives) # |
| 8 |
# # |
| 9 |
# you can redistribute it and/or modify it under the terms of the GNU # |
| 10 |
# Lesser General Public License as published by the Free Software # |
| 11 |
# Foundation, version 2.1. # |
| 12 |
# # |
| 13 |
# It is distributed in the hope that it will be useful, # |
| 14 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of # |
| 15 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # |
| 16 |
# GNU Lesser General Public License for more details. # |
| 17 |
# # |
| 18 |
# See the GNU Lesser General Public License version 2.1 # |
| 19 |
# for more details (enclosed in the file licenses/LGPLv2.1). # |
| 20 |
# # |
| 21 |
########################################################################## |
| 22 |
|
| 23 |
# Makefile template epilogue for analyses with Frama-C/Eva. |
| 24 |
# For details and usage information, see the Frama-C User Manual. |
| 25 |
|
| 26 |
# Some targets provided for convenience |
| 27 |
# Note: they all depend on TARGETS having been properly set by the user |
| 28 |
eva: $(TARGETS) |
| 29 |
parse: $(TARGETS:%.eva=%.parse) |
| 30 |
# Opening one GUI for each target is cumbersome; we open only the first target |
| 31 |
gui: $(firstword $(TARGETS)).gui |
| 32 |
|
| 33 |
# Default target |
| 34 |
all: eva |
| 35 |
ifeq ($(TARGETS),) |
| 36 |
@echo "error: TARGETS is empty" |
| 37 |
endif |
| 38 |
|
| 39 |
display-targets: |
| 40 |
@echo "$(addprefix .frama-c/,$(TARGETS))" |