Prepare to add new tests depending on the definitions

We want to be able to conditionally add tests.  This sets up to be
able to do that cleanly.
This commit is contained in:
Daniel Kahn Gillmor
2021-03-05 02:44:46 -05:00
parent e1073c8733
commit e70b143733

View File

@@ -9,7 +9,9 @@ OBJ = ${SRC:.c=.o}
TEST_SNIPPETS = $(notdir $(basename $(wildcard snippets/*.c)))
EXPECTATIONS= $(notdir $(basename $(wildcard snippets/*.variable)))
all: timetest test
ALL_TESTS = timetest test
all: $(ALL_TESTS)
.c.o:
${CC} -c ${CFLAGS} $<