summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2014-07-26 02:37:24 -0700
committerJohn Hawthorn <john.hawthorn@gmail.com>2014-07-26 20:01:04 -0700
commit7570fcf7ede68836f65d3bc45976009a04b75ae4 (patch)
tree9f02554182b3f634e29490314b55f839f4439896 /Makefile
parent5edec9a231541eaf06a7f87a92610b078a09dab9 (diff)
Move declarations into fzy.h
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