diff --git a/Makefile b/Makefile index 74417ad..d7c8e24 100644 --- a/Makefile +++ b/Makefile @@ -11,11 +11,11 @@ run: all debug: all gdb $(BIN) +clean: + rm -f -- $(wildcard $(BIND)/*) + $(BIND): mkdir -p -- $@ $(BIN): $(wildcard src/*.c) cc -g -Wall -Wextra -Werror -o $@ $^ - -clean: - rm -f -- $(wildcard $(BIND)/*)