add CuTest / update README

This commit is contained in:
2024-01-11 11:37:56 +01:00
parent 20e0c4d9fc
commit c2ad81b2b5
5 changed files with 246 additions and 182 deletions

View File

@@ -204,6 +204,8 @@ $(SLIB): $(OBJ) | $(LIBDIR)
##################################### testing
.PHONY: cleanbin cleanbindir
CUTESTSRC := $(TESTDIR)/cutest/CuTest.c
cleanbin:
$(call rmfiles,$(BIN),binary)
@@ -211,7 +213,7 @@ cleanbindir:
$(call rmdir,$(BINDIR),binaries)
$(BINDIR)/%: $(TESTDIR)/%.c libs | $(BINDIR)
$(CC) $(CPPFLAGS) $(CFLAGS) $< $(LDFLAGS) $(LIBS) -o $@
$(CC) $(CPPFLAGS) $(CFLAGS) $< $(CUTESTSRC) $(LDFLAGS) $(LIBS) -o $@
##################################### pre-processed (.i) and assembler (.s) output
%.i: %.c