From 908e6d88f32c6eb1855d13156fad301c402a1798 Mon Sep 17 00:00:00 2001 From: hachem Date: Sat, 3 Oct 2026 08:44:46 +0200 Subject: feat: more qol after using it for a couple days --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a4fb984..66c84ca 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,7 @@ endif TARGET := todo SRC := todo.c +HDR := config.h PREFIX ?= /usr/local bindir := $(DESTDIR)$(PREFIX)/bin @@ -34,8 +35,8 @@ mandir := $(DESTDIR)$(PREFIX)/share/man/man1 all: $(TARGET) -$(TARGET): $(SRC) - $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) +$(TARGET): $(SRC) $(HDR) + $(CC) $(CFLAGS) $(SRC) -o $@ $(LDFLAGS) clean: rm -rf $(TARGET) $(TARGET).dSYM -- cgit v1.3