1CC = clang
 2CFLAGS = -Wall -Wextra -std=c99 -fsanitize=address -g -O0
 3TARGET = tests
 4
 5all: $(TARGET)
 6
 7$(TARGET): tests.c nonstd.h minunit.h
 8	$(CC) $(CFLAGS) -o $(TARGET) tests.c
 9
10test: $(TARGET)
11	./$(TARGET)
12
13clean:
14	rm -f $(TARGET)
15
16format:
17	clang-format -i nonstd.h tests.c examples/*.c
18
19.PHONY: all test clean format