3 ms·
You can consider using MinUnit and Clang-Tidy together with Clang-Format as well, further, for C it should be something more like this: CC = clang CFLA
by LabMechanic 3y ago
You can consider using MinUnit and Clang-Tidy together with Clang-Format as well, further, for C it should be something more like this:
CC = clang
CFLAGS = -g -std=c2x -Weverything -fsanitize=undefined,address
all: app.exe
app.exe: src/main.c
$(CC) $(CFLAGS) src/main.c
clean:
rm -rf /build
See my comment here with an example of an NMAKE Makefile.
Consider:
https://nullprogram.com/blog/2017/08/20/ https://nullprogram.com/blog/2017/08/20/