optimize the tests makefiles, add unit tests for btrie key allocator
[lunaix-os.git] / lunaix-os / tests / shared / makefile
index 0484be25384408401701dd1eccc1464a38f7a9cf..6d38283951ed680fd1a1c7466f78657a075fef1c 100644 (file)
@@ -9,12 +9,9 @@ CFLAGS += -idirafter $(lunaix-root)/includes   \
                  -I $(test-root)/includes \
                  -Wno-discarded-qualifiers \
                  -Wno-scalar-storage-order \
-                 -g
+                 -Werror \
+                 -g \
+                 -D__off_t_defined
 
-
-%.o: %.c
-       $(call status,CC,$(@F))
-       @$(CC) $(CFLAGS) -c $< -o $@
-
-
-obj-shared := $(test-shared-root)/framework.o
+obj-shared := $(test-shared-root)/framework.o  \
+                               $(test-shared-root)/memchk.o