From a405c151df74d4d3b4d06c38feff6458bef375a9 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 19 Aug 2018 13:23:21 +0200 Subject: Add str[n]caseeq[null] and some tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 19cebc6..42f7f4d 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,8 @@ TESTS =\ strrcasestr.test\ strrstr.test\ strstarts.test\ - vasprintf.test + vasprintf.test\ + libsimple.test all: libsimple.a $(TESTS) $(OBJ): $(@:.o=.c) libsimple.h @@ -94,7 +95,7 @@ libsimple.a: $(OBJ) $(CC) -c -o $@ $< $(CFLAGS) -DTEST check: $(TESTS) - @set -e; for t in $(TESTS); do printf '%s\n' "./$$t"; "./$$t"; done + @set -e; for t in $(TESTS); do printf '%s\n' "./$$t"; $(CHECK_PREFIX) "./$$t"; done clean: -rm -rf -- *.o *.su *.a *.so *.so.* *.gch *.gcda *.gcno *.gcov *.lo *.test -- cgit v1.2.3-70-g09d2