From c0f839c40d8b0dabcb131d19547f8347a6802b92 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Mon, 3 Nov 2008 21:22:47 +0000 Subject: Make sure all .c->.o builds depend on all .h files --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d6a5ff8..754bafc 100644 --- a/Makefile +++ b/Makefile @@ -21,8 +21,8 @@ demo: libtermkey.so demo.c libtermkey.so: termkey.o driver-csi.o driver-ti.o $(LD) -shared -soname=$(SONAME) -o $@ $^ -lncurses -%.o: %.c - $(CC) $(CFLAGS) $(CFLAGS_DEBUG) -Wall -std=c99 -fPIC -o $@ -c $^ +%.o: %.c termkey.h termkey-internal.h + $(CC) $(CFLAGS) $(CFLAGS_DEBUG) -Wall -std=c99 -fPIC -o $@ -c $< .PHONY: clean clean: -- cgit v1.2.3-70-g09d2