summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: ffb9a5c9ccbd0f85c9a75604a1868e031e6a4a10 (plain)
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
AM_CFLAGS = -Wall -Wextra

noinst_LIBRARIES = libeps.a
libeps_a_SOURCES = grammar.c list.c reader.c \
grammar.h list.h util.h reader.h

libeps_a_CFLAGS = $(AM_CFLAGS) --pedantic

# Make TAGS automatically

all-local: MYTAGS

MYTAGS: $(TAGS_DEPENDENCIES) $(am__tagged_files)
	@if $(AM_V_P); then $(MAKE) TAGS; else echo "MAKE TAGS"; \
	$(MAKE) TAGS > /dev/null; fi;


CLEANFILES = TAGS

# tests

check_PROGRAMS = check_list check_grammar check_reader

check_list_SOURCES = test/check_list.c list.c

check_grammar_SOURCES = test/check_grammar.c list.c grammar.c

check_reader_SOURCES = test/check_reader.c list.c grammar.c reader.c

TESTS = $(check_PROGRAMS)

AM_COLOR_TESTS = always