From db2ddd0b4a9b375ab0cac69cf76feb1177e6ebd6 Mon Sep 17 00:00:00 2001 From: jvech Date: Mon, 7 Feb 2022 19:55:55 -0500 Subject: ncurses for interactive selection added --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 86c43bf..9f3b104 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,15 @@ CC = cc CFLAGS=-std=c99 -pedantic-errors -Wall +LIBS = -lncursesw BIN=cli-tube +all: build + build: main.c - $(CC) $(CFLAGS) main.c -o $(BIN) + $(CC) $(CFLAGS) main.c -o $(BIN) $(LIBS) debug: main.c - $(CC) -g main.c -o $(BIN) $(CFLAGS) + $(CC) -g main.c -o $(BIN) $(CFLAGS) $(LIBS) valgrind --leak-check=full ./$(BIN) foo bar clean: -- cgit v1.2.3-70-g09d2