]> mj.ucw.cz Git - libucw.git/blobdiff - lib/sorter/Makefile
Radix sort bit width is now controlled by the configure script.
[libucw.git] / lib / sorter / Makefile
index 6a0c4f94117e4db12d8ca74a800e990a703835df..b54c05f41d55b3fc706609b2a443e21b25b37728 100644 (file)
@@ -2,8 +2,12 @@
 
 DIRS+=lib/sorter
 
 
 DIRS+=lib/sorter
 
-LIBUCW_MODS+=sorter/config sorter/govern sorter/sbuck
-PROGS+=$(o)/lib/sorter/sort-test $(o)/lib/sorter/old-test
+LIBUCW_MODS+=$(addprefix sorter/, config govern sbuck array)
+LIBUCW_INCLUDES+=$(addprefix sorter/, array.h common.h s-fixint.h \
+       s-internal.h s-multiway.h s-radix.h s-twoway.h sorter.h)
+
+ifdef CONFIG_DEBUG_TOOLS
+PROGS+=$(o)/lib/sorter/sort-test
+endif
 
 $(o)/lib/sorter/sort-test: $(o)/lib/sorter/sort-test.o $(LIBUCW)
 
 $(o)/lib/sorter/sort-test: $(o)/lib/sorter/sort-test.o $(LIBUCW)
-$(o)/lib/sorter/old-test: $(o)/lib/sorter/old-test.o $(LIBUCW)