summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ba1de16..aaca829 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
CFLAGS+=-Wall -Wextra -g -std=c99
-all: fzy testscore
+all: fzy fzytest
-testscore: testscore.o match.o
+fzytest: fzytest.o match.o
$(CC) $(CCFLAGS) -o $@ $^
-test: testscore
- ruby test.rb
+test: fzytest
+ -./fzytest
fzy: fzy.o match.o
$(CC) $(CCFLAGS) -o $@ $^
@@ -15,4 +15,6 @@ fzy: fzy.o match.o
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
clean:
- $(RM) fzy testscore *.o
+ $(RM) fzy fzytest *.o
+
+.PHONY: test all clean