]> mj.ucw.cz Git - libucw.git/blobdiff - lib/sorter/Makefile
Convert the most important users of arraysort.h to sorter/array.h.
[libucw.git] / lib / sorter / Makefile
index ebe6cad5ce7b81439c377ce6874f37b53cc640ff..b54c05f41d55b3fc706609b2a443e21b25b37728 100644 (file)
@@ -2,7 +2,12 @@
 
 DIRS+=lib/sorter
 
-LIBUCW_MODS+=sorter/config sorter/govern sorter/sbuck
+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/old-test: $(o)/lib/sorter/old-test.o $(LIBUCW)