diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2014-07-26 19:51:50 -0700 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2014-07-26 20:01:28 -0700 |
commit | 86da32df1fa10732585e3efa5655633b5b776163 (patch) | |
tree | 13ec22d6c569083f074118e1a340ee2208b497e9 /Makefile | |
parent | 5688dc4cba2eb3ef514c3f75afab2f1e332bc979 (diff) |
Replace ruby tests with some C
Ruby tests were a nice way to start, and it was nice to borrow some from
selecta. However, it's going to be much easier to write tests in the
same language as the implementation.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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 |