-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
56 lines (46 loc) · 2.54 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# MITL2Timed makefile based on LTL2BA (See original comments below.)
#
# ARC; May 22 2015.
# LTL2BA - Version 1.0 - October 2001
# Written by Denis Oddoux, LIAFA, France
# Copyright (c) 2001 Denis Oddoux
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# Based on the translation algorithm by Gastin and Oddoux,
# presented at the CAV Conference, held in 2001, Paris, Fance 2001.
# Send bug-reports and/or questions to: [email protected]
# or to Denis Oddoux
# LIAFA, UMR 7089, case 7014
# Universite Paris 7
# 2, place Jussieu
# F-75251 Paris Cedex 05
# FRANCE
# -ansi is removed and -sd=c11 is added to use comment // and for-loop with initialization
CC=gcc
IDIR = include
# CFLAGS= -O3 -g -DNXT -DTIMED
CFLAGS= -g -DNXT -std=c11 -I$(IDIR)
LDIR = lib
SDIR = src
DEPS = $(IDIR)/%.h
LIBS = -lm
%.o: $(SDIR)/%.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
MITL2TA= src/parse.o src/lex.o src/main.o src/trans.o src/buchi.o src/set.o src/mem.o src/rewrt.o src/cache.o src/alternating.o src/generalized.o src/timed.o
mitl2ta: $(MITL2TA)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
clean:
rm -f MITL2TA src/*.o core