diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-06-09 12:56:28 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-06-09 13:01:37 -0400 |
commit | 174f98fca012215238554c29b199e4b0377e416f (patch) | |
tree | 85fdefda37cab90366b17029e6c224c708240b0f /Makefile | |
parent | e541a7a48ef162895bd5840f3bddfcd23bb231ac (diff) | |
download | bfs-174f98fca012215238554c29b199e4b0377e416f.tar.xz |
tests/trie: New acceptance test for tries
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -89,7 +89,7 @@ ALL_LDLIBS = $(LOCAL_LDLIBS) $(LDLIBS) default: bfs -all: bfs tests/mksock tests/xtimegm +all: bfs tests/mksock tests/trie tests/xtimegm bfs: \ bftw.o \ @@ -126,13 +126,19 @@ release: bfs tests/mksock: tests/mksock.o $(CC) $(ALL_LDFLAGS) $^ -o $@ +tests/trie: trie.o tests/trie.o + $(CC) $(ALL_LDFLAGS) $^ -o $@ + tests/xtimegm: time.o tests/xtimegm.o $(CC) $(ALL_LDFLAGS) $^ -o $@ %.o: %.c $(CC) $(ALL_CFLAGS) -c $< -o $@ -check: check-xtimegm check-bfs check-dfs check-ids +check: check-trie check-xtimegm check-bfs check-dfs check-ids + +check-trie: tests/trie + $< check-xtimegm: tests/xtimegm $< @@ -150,7 +156,7 @@ endif +$(MAKE) -B check $(DISTCHECK_FLAGS) clean: - $(RM) bfs *.[od] tests/mksock tests/xtimegm tests/*.[od] + $(RM) bfs *.[od] tests/mksock tests/trie tests/xtimegm tests/*.[od] install: $(MKDIR) $(DESTDIR)$(PREFIX)/bin @@ -162,6 +168,6 @@ uninstall: $(RM) $(DESTDIR)$(PREFIX)/bin/bfs $(RM) $(DESTDIR)$(MANDIR)/man1/bfs.1 -.PHONY: all asan ubsan msan release check distcheck clean install uninstall +.PHONY: all asan ubsan msan release check check-trie check-xtimegm distcheck clean install uninstall -include $(wildcard *.d) |