Factorize code to map a file into memory.
[apps/pfixtools.git] / common / Makefile
index 8c5c1f4..3720069 100644 (file)
 #  THE POSSIBILITY OF SUCH DAMAGE.                                           #
 ##############################################################################
 
-LIBS = lib
+LIBS  = lib
+TESTS = tst-trie
 
-lib_SOURCES = str.c buffer.c common.c epoll.c server.c trie.c
+lib_SOURCES = str.c buffer.c common.c epoll.c server.c trie.c file.c
+tst-trie_SOURCES = tst-trie.c lib.a
 
 include ../mk/common.mk