19 lines
330 B
Makefile
19 lines
330 B
Makefile
CFLAGS=-std=c11 -Wall -Wextra -Wpedantic -g -Og \
|
|
-fsanitize=undefined -fsanitize=address
|
|
LDFLAGS=-fsanitize=undefined -fsanitize=address
|
|
|
|
ALL=demo
|
|
|
|
all: $(ALL)
|
|
|
|
demo: demo.o reconque.o
|
|
|
|
clean:
|
|
$(RM) $(ALL) *.o
|
|
check:
|
|
cppcheck --enable=all --std=c11 *.[ch]
|
|
format:
|
|
clang-format -i *.[ch]
|
|
|
|
.PHONY: all check clean format
|