summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-06-10 13:17:55 +0300
committereug-vs <eug-vs@keemail.me>2021-06-10 13:17:55 +0300
commit3d356b409005ffeadfc8493dadfec5dc8cd4f4d4 (patch)
tree27f1d9e0d2f77261f164b8e9fba6963e4c38586d /Makefile
parentc8b8b85bc4f24a10b86abbdf71ff47009ba73c55 (diff)
downloadc-chess-3d356b409005ffeadfc8493dadfec5dc8cd4f4d4.tar.gz
feat: print chess board to stdout, remove ncurses
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b682fe2..94e43d6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
CC=tcc
-CFLAGS=-lncurses
+CFLAGS=-g
SRC=src
OBJ=obj
SOURCES=$(wildcard $(SRC)/*.c)
@@ -15,7 +15,7 @@ build: $(BIN)
$(BIN): $(OBJECTS)
$(CC) $(CFLAGS) $(OBJECTS) -o $(BIN)
-$(OBJ)/%.o: $(SRC)/%.c
+$(OBJ)/%.o: $(SRC)/%.c $(SRC)/*.h
$(CC) -c $< -o $@
clean: