diff options
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 |
