aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-08-28 13:45:34 +0200
committerMattias Andrée <maandree@kth.se>2018-08-28 13:45:34 +0200
commitf27708ce206f97896bcf001d00d126f91ff7a5c8 (patch)
tree622f2abc1f2d8535474c4f36709bb6dd40be39c1 /Makefile
parentSimplify en* functions, and handle argv0 == NULL correct (diff)
downloadlibsimple-f27708ce206f97896bcf001d00d126f91ff7a5c8.tar.gz
libsimple-f27708ce206f97896bcf001d00d126f91ff7a5c8.tar.bz2
libsimple-f27708ce206f97896bcf001d00d126f91ff7a5c8.tar.xz
Make it possible to force all memory allocation functions to fail in tests
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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