DIRS+=ucw/sorter
LIBUCW_MODS+=$(addprefix sorter/, config govern sbuck array)
-LIBUCW_SORTER_INCLUDES=$(addprefix sorter/, array.h common.h s-fixint.h \
+LIBUCW_SORTER_INCLUDES=$(addprefix sorter/, array.h array-simple.h common.h s-fixint.h \
s-internal.h s-multiway.h s-radix.h s-twoway.h sorter.h)
LIBUCW_INCLUDES+=$(LIBUCW_SORTER_INCLUDES)
PROGS+=$(o)/ucw/sorter/sort-test
endif
+TESTS+=$(o)/ucw/sorter/sort-test.test
+
+$(o)/ucw/sorter/sort-test.test: $(o)/ucw/sorter/sort-test
$(o)/ucw/sorter/sort-test: $(o)/ucw/sorter/sort-test.o $(LIBUCW)
INSTALL_TARGETS+=install-ucw-sorter