summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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: