diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2016-05-21 15:00:39 -0700 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2016-05-21 15:01:58 -0700 |
commit | a5543bc1c9e9b094e487365ddd2ee7e9ed0fb9c6 (patch) | |
tree | 5ede32c463f976a32ff1778bdac1cbb3d84dd928 /Makefile | |
parent | 2b3c3a85ec8aa8b4b94c0e594c32449dd70b4d26 (diff) |
Move fzytest into test/ directory
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -12,16 +12,16 @@ INSTALL_PROGRAM=$(INSTALL) INSTALL_DATA=${INSTALL} -m 644 OBJECTS=src/fzy.o src/match.o src/tty.o src/choices.o -TESTOBJECTS=src/fzytest.o src/match.o src/choices.o +TESTOBJECTS=test/fzytest.c src/match.o src/choices.o all: fzy -fzytest: $(TESTOBJECTS) - $(CC) $(CFLAGS) $(CCFLAGS) -o $@ $(TESTOBJECTS) +test/fzytest: $(TESTOBJECTS) + $(CC) $(CFLAGS) $(CCFLAGS) -Isrc -o $@ $(TESTOBJECTS) test: check -check: fzytest - $(DEBUGGER) ./fzytest +check: test/fzytest + $(DEBUGGER) ./test/fzytest fzy: $(OBJECTS) $(CC) $(CFLAGS) $(CCFLAGS) -o $@ $(OBJECTS) @@ -44,6 +44,6 @@ fmt: clang-format -i src/*.c src/*.h clean: - rm -f fzy fzytest src/*.o + rm -f fzy test/fzytest src/*.o .PHONY: test check all clean install fmt |