commit 6285c22a07893303bc8719afefe3e878ed6bc887
Author: Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Tue Sep 26 20:51:30 2023 +0200
Commit: Roberto E. Vargas Caballero <[email protected]>
CommitDate: Wed Sep 27 07:59:27 2023 +0200
build: Remove unneeded dependency
Make will search in the catalogue of rules for a way to
update the target, and in case of finding the dependency
it will apply the rule without a need of specifying that
dependency.
diff --git a/Makefile b/Makefile
index fa9b735..0bae170 100644
--- a/Makefile
+++ b/Makefile
@@ -187,7 +187,7 @@ MAN = $(BIN:=.1)
all: $(BIN)
-$(BIN): $(LIB) $(@:=.o)
+$(BIN): $(LIB)
$(OBJ): $(HDR) config.mk