From 9a6c0ee9ccf22d635a4bfdff6808b5716cdeca64 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 13 Jan 2021 18:50:00 -0800 Subject: Update makefile to better reflect header dependencies --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 39ea023..40a57ea 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ OBJFILES=$(CFILES:.c=.o) all: $(NAME) -.c.o: +%.o: %.c %.h types.h $(CC) -c $(CFLAGS) $(CWARN) $(G) $(O) -o $@ $< $(NAME): $(OBJFILES) $(NAME).c -- cgit v1.2.3