aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-13 18:50:00 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-13 18:50:00 -0800
commit9a6c0ee9ccf22d635a4bfdff6808b5716cdeca64 (patch)
treee891c34d6037364a4a636069f70594195f37c75d /Makefile
parent45d7aff47545f52136487fbb5b06cdcf716cbe9f (diff)
Update makefile to better reflect header dependencies
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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