aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 79e9587..98e3784 100644
--- a/Makefile
+++ b/Makefile
@@ -22,15 +22,15 @@ $(BIN): $(OBJ)
printf " LD %s\n" $@
$(CC) $(LDFLAGS) $^ -o $@
-$(OBJDIR)/%.o: %.c %.h
+$(OBJDIR)/%.o: %.c %.h state.h
printf " CC %s\n" $@
$(CC) $(CFLAGS) -c $< -o $@
-$(OBJDIR)/%.o: */%.c */%.h
+$(OBJDIR)/%.o: */%.c */%.h state.h
printf " CC %s\n" $@
$(CC) $(CFLAGS) -c $< -o $@
-$(OBJDIR)/%.o: %.c
+$(OBJDIR)/%.o: %.c state.h
printf " CC %s\n" $@
$(CC) $(CFLAGS) -c $< -o $@