diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-11-03 21:22:47 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-11-03 21:22:47 +0000 |
commit | c0f839c40d8b0dabcb131d19547f8347a6802b92 (patch) | |
tree | 98e66d701bcc5e08fc45da5236c2867d64315824 | |
parent | a2f3d807f8e7c2c1f4421494eede16f04944180c (diff) | |
download | termo-c0f839c40d8b0dabcb131d19547f8347a6802b92.tar.gz termo-c0f839c40d8b0dabcb131d19547f8347a6802b92.tar.xz termo-c0f839c40d8b0dabcb131d19547f8347a6802b92.zip |
Make sure all .c->.o builds depend on all .h files
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |