16 lines
321 B
Makefile
16 lines
321 B
Makefile
CC = gcc
|
|
CFLAGS = -Wall -Wextra -Wpedantic -std=c11
|
|
|
|
all: test_status_parse
|
|
|
|
test_status_parse: tests/test_status_parse.c
|
|
$(CC) $(CFLAGS) -I../src -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
|