summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 5eff3c5e3b2718496325ce300a69ea2ac4010ff5 (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
35
36
37
38
AM_CFLAGS = -Wall -Wextra

noinst_LIBRARIES = libeps.a
libeps_a_SOURCES = grammar.c list.c util.c reader.c \
str.c utf8.c \
grammar.h list.h util.h reader.h \
str_partial.h str.h utf8.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 str.c \
utf8.c

check_reader_SOURCES = test/check_reader.c list.c grammar.c reader.c \
str.c utf8.c util.c

TESTS = $(check_PROGRAMS)

AM_COLOR_TESTS = always