From 52a6be4089e0b995694fb8a49d7de7e5e2b2dd7f Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 1 Mar 2019 17:11:16 -0500 Subject: script to generate distinct value checker and typedef checker from small input --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 85fe6f8..15b0c0a 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,12 @@ 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 errno.o time.o +TESTOBJS=main.o test.o assert.o ctype.o locale.o errno.o time.o signal.o + +.SUFFIXES: .defs .d + +.defs.d: + awk -f defs2d.awk $< > $@ testlibc: $(TESTOBJS) $(LIBDIR)/libc.a $(CC) -o $@ $(TESTOBJS) $(LDFLAGS) @@ -15,6 +20,7 @@ ctype.o: ctype.c test.h locale.o: locale.c test.h errno.o: errno.c test.h time.o: time.c test.h +signal.o: signal.c signal.d test.o: test.c test.h main.o: main.c test.h -- cgit v1.2.1