Files
looper/client/makefile

19 lines
436 B
Makefile

CC = gcc
CFLAGS = -Wall -Wextra -Wpedantic -std=c11
all: looper-client test_status_parse
looper-client: src/main.c src/tui.c
$(CC) $(CFLAGS) -Isrc -o $@ $^ -lncurses
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: looper-client test_status_parse
./test_status_parse
.PHONY: all test clean
clean:
rm -f looper-client test_status_parse