From f27708ce206f97896bcf001d00d126f91ff7a5c8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 28 Aug 2018 13:45:34 +0200 Subject: Make it possible to force all memory allocation functions to fail in tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 505ab47..3c20ae3 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,7 @@ libsimple.a: $(OBJ) $(AR) -s $@ .test.o.test: - $(CC) -o $@ $< libsimple.a test.o $(LDFLAGS) + $(CC) -o $@ $< test.o libsimple.a $(LDFLAGS) .c.test.o: $(CC) -c -o $@ $< $(CFLAGS) -DTEST -- cgit v1.2.3-70-g09d2