From 60513cb5508a8197f5219dc3d06c0331c99863a6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 28 Aug 2018 10:41:36 +0200 Subject: Add test function to all .c files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 38 +------------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1f75567..763ccda 100644 --- a/Makefile +++ b/Makefile @@ -59,43 +59,7 @@ OBJ =\ vweprintf.o\ libsimple.o -TESTS =\ - asprintf.test\ - difftimespec.test\ - difftimeval.test\ - doubletotimespec.test\ - doubletotimeval.test\ - isutf8.test\ - memdup.test\ - memends.test\ - memmem.test\ - memrchr.test\ - memrmem.test\ - memstarts.test\ - minimise_number_string.test\ - multimespec.test\ - multimeval.test\ - rawmemchr.test\ - rawmemrchr.test\ - strcaseends.test\ - strcasestr.test\ - strends.test\ - strncasestr.test\ - strndup.test\ - strnstr.test\ - strrcasestr.test\ - strrncasestr.test\ - strrnstr.test\ - strrstr.test\ - strstarts.test\ - sumtimespec.test\ - sumtimeval.test\ - timespec2timeval.test\ - timespectostr.test\ - timevaltostr.test\ - vasprintf.test\ - vputenvf.test\ - libsimple.test +TESTS = $(OBJ:.o=.test) all: libsimple.a $(TESTS) $(OBJ): $(@:.o=.c) libsimple.h -- cgit v1.2.3-70-g09d2