aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cbfba5c..68eb037 100644
--- a/Makefile
+++ b/Makefile
@@ -7,10 +7,10 @@ endif
all: demo
-demo: termkey.o demo.c
+demo: termkey.o driver-csi.o demo.c
gcc $(CCFLAGS) $(LDFLAGS) -o $@ $^
-termkey.o: termkey.c
+%.o: %.c
gcc $(CCFLAGS) -o $@ -c $^
.PHONY: clean