Makefile.am 327 Bytes
Newer Older
Niels Möller's avatar
Niels Möller committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

TS_PROGS = aes-test arcfour-test md5-test

noinst_PROGRAMS = $(TS_PROGS)

LDADD = testutils.o ../libnettle.a
EXTRA_DIST = macros.h $(SOURCES:.c=.m4)

M4FLAGS = -P -s
%.c: macros.m4 %.m4
	$(M4) $(M4FLAGS) $^ > $@T
	test -s $@T && mv -f $@T $@

.PNONY: check run-tests

check: run-tests

run-tests: $(TS_PROGS)
	./run-tests $^