diff options
author | eug-vs <eug-vs@keemail.me> | 2021-06-09 16:00:13 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-06-09 16:00:28 +0300 |
commit | c8b8b85bc4f24a10b86abbdf71ff47009ba73c55 (patch) | |
tree | fbf002048751e57af1fbf9a10b64affe14494e7b /Makefile | |
parent | 7accae778e7f06317c3aa8d4c2fcdaa24cb1c093 (diff) | |
download | c-chess-c8b8b85bc4f24a10b86abbdf71ff47009ba73c55.tar.gz |
feat: initalize ncurses
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 $@ |