From e99c037be3303f5f997b5107c5262cf7fff9fd85 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Fri, 7 Feb 2014 16:53:02 -0800 Subject: [PATCH] Add header dependency --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0589c88b..281305b4 100644 --- a/Makefile +++ b/Makefile @@ -3,5 +3,7 @@ all: jsoncat jsoncat: jsoncat.o jsonpull.o cc -g -Wall -o $@ $^ +jsoncat.o jsonpull.o: jsonpull.h + %.o: %.c - cc -g -Wall -c $^ + cc -g -Wall -c $<