From c8b8b85bc4f24a10b86abbdf71ff47009ba73c55 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 9 Jun 2021 16:00:13 +0300 Subject: feat: initalize ncurses --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d940580..b682fe2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ CC=tcc +CFLAGS=-lncurses SRC=src OBJ=obj SOURCES=$(wildcard $(SRC)/*.c) @@ -12,7 +13,7 @@ run: $(BIN) build: $(BIN) $(BIN): $(OBJECTS) - $(CC) $(OBJECTS) -o $(BIN) + $(CC) $(CFLAGS) $(OBJECTS) -o $(BIN) $(OBJ)/%.o: $(SRC)/%.c $(CC) -c $< -o $@ -- cgit v1.2.3