aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-03 21:22:47 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-03 21:22:47 +0000
commitc0f839c40d8b0dabcb131d19547f8347a6802b92 (patch)
tree98e66d701bcc5e08fc45da5236c2867d64315824 /Makefile
parenta2f3d807f8e7c2c1f4421494eede16f04944180c (diff)
downloadtermo-c0f839c40d8b0dabcb131d19547f8347a6802b92.tar.gz
termo-c0f839c40d8b0dabcb131d19547f8347a6802b92.tar.xz
termo-c0f839c40d8b0dabcb131d19547f8347a6802b92.zip
Make sure all .c->.o builds depend on all .h files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files 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: