summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-28 19:19:40 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-28 19:19:40 -0500
commitfde01d16193b2d7e5b9482bcc97be9450878afab (patch)
tree8639a9e9e6b2c714b6c49606f6d4147b6fd6f32f /Makefile
parent7eecacb007bf27e9ff31646a6e0a1d7bce51d4a7 (diff)
initial test for errno
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 156ef2a..3ca5ab2 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ include config.mk
CFLAGS=-g -I$(INCLUDEDIR) -nostdinc -fno-builtin
LDFLAGS=-L$(LIBDIR) $(LIBS)
-TESTOBJS=main.o test.o assert.o ctype.o locale.o
+TESTOBJS=main.o test.o assert.o ctype.o locale.o errno.o
testlibc: $(TESTOBJS) $(LIBDIR)/libc.a
$(CC) -o $@ $(TESTOBJS) $(LDFLAGS)
@@ -16,6 +16,8 @@ ctype.o: ctype.c test.h
locale.o: locale.c test.h
+errno.o: errno.c test.h
+
test.o: test.c test.h
main.o: main.c test.h