diff options
| author | hachem <im@hachem.wtf> | 2026-10-03 08:44:46 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-10-03 08:44:46 +0200 |
| commit | 908e6d88f32c6eb1855d13156fad301c402a1798 (patch) | |
| tree | 33c6e459c466052cf235a227720dddab86abd749 /Makefile | |
| parent | 7fe8c5ed9d741a58118f145a5d5ed14e533b9d39 (diff) | |
feat: more qol after using it for a couple days
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |
