summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6253311..ba1de16 100644
--- a/Makefile
+++ b/Makefile
@@ -11,5 +11,8 @@ test: testscore
fzy: fzy.o match.o
$(CC) $(CCFLAGS) -o $@ $^
+%.o: %.c fzy.h
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
+
clean:
$(RM) fzy testscore *.o