aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6dd9909..ed6b098 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# Compiler options
+# Compiler to options
CC=gcc
CFLAGS=-std=c17 -Wall -Werror -g
@@ -8,14 +8,14 @@ bin=bin
# Directives
.PHONY: build
-build: $(bin)/ctodo
+build: $(bin)/tdo
.PHONY: clean
clean:
-rm -r $(bin) $(obj)
# Build executable
-$(bin)/ctodo: $(bin) $(src)/main.c
+$(bin)/tdo: $(bin) $(src)/main.c
$(CC) $(CFLAGS) -o $@ $(filter-out $<,$^)
# Make bin directory