commit: 9006a76c080d6f6bc637c835abef684cabbcbe9e
parent ea8a0b16d427475d923ed0a224433aa108d9317e
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 10 Sep 2024 07:17:21 +0200
Makefile: cmd/rm rule without $(RM)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -139,9 +139,9 @@ cmd/seq: cmd/seq.c Makefile
$(RM) -f ${<:=.gcov} ${@:=.gcda} ${@:=.gcno}
$(CC) -std=c99 $(CFLAGS) -o $@ cmd/seq.c -lm $(LDFLAGS) $(LDSTATIC)
-cmd/$(RM): cmd/$(RM).c lib/consent.c lib/consent.h Makefile
+cmd/rm: cmd/rm.c lib/consent.c lib/consent.h Makefile
$(RM) -f ${<:=.gcov} ${@:=.gcda} ${@:=.gcno}
- $(CC) -std=c99 $(CFLAGS) -o $@ cmd/$(RM).c lib/consent.c $(LDFLAGS) $(LDSTATIC)
+ $(CC) -std=c99 $(CFLAGS) -o $@ cmd/rm.c lib/consent.c $(LDFLAGS) $(LDSTATIC)
cmd/truncate: cmd/truncate.c lib/truncation.c lib/truncation.h Makefile
$(RM) -f ${<:=.gcov} ${@:=.gcda} ${@:=.gcno}