CC = gcc
CFLAGS = -Wall -Wextra -Wpedantic -std=c11

all: test_status_parse

test_status_parse: tests/test_status_parse.c
	$(CC) $(CFLAGS) -Isrc -o test_status_parse tests/test_status_parse.c src/tui.c -lncurses

test: test_status_parse
	./test_status_parse

.PHONY: all test clean

clean:
	rm -f test_status_parse
