blob: 245ea6e76bda1497aadbb702fc1ebd45ae1e877b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
bin_PROGRAMS = tests
tests_SOURCES = $(top_srcdir)/tests/unit/tests_lexer.c \
$(top_srcdir)/src/helper.c
tests_CFLAGS = -Wall -Wextra -Wvla -std=c99 -pedantic # -Werror
tests_CPPFLAGS = -I$(top_srcdir)/src
tests_LDADD = $(top_srcdir)/src/lexer/liblexer.a \
$(top_srcdir)/src/utils/libutils.a \
$(top_srcdir)/src/parser/libparser.a \
$(top_srcdir)/src/IO/libIO.a \
$(top_srcdir)/src/ast/libast.a \
$(top_srcdir)/src/exec/libeval.a \
$(top_srcdir)/src/builtins/libbuiltins.a \
-lcriterion
check-local:
$(top_srcdir)/tests/wrapper.sh
|