-# Makefile for linux_test
+# Makefile for 64 bit time test.
#
#
# YAFFS: Yet another Flash File System. A NAND-flash specific file system.
# NB Warning this Makefile does not include header dependencies.
#
-YDI_DIR = ../../../
-YDI_FRAMEWORK_DIR = ../../
-CLEAN_OBJS = linux_test emfile-2k-0
+YDI_DIR = ../../../../
+YDI_FRAMEWORK_DIR = ../../../
-TESTFILES = linux_test.o lib.o
+CLEAN_OBJS = time_64_tests emfile-2k-0 emfile-nand emfile-nand128MB
+TESTFILES = time_64_tests.o
-all: linux_test
+all: time_64_tests
YAFFS_TEST_OBJS = $(COMMONTESTOBJS) $(TESTFILES)
include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk
+phony. test: time_64_tests
+ ./time_64_tests
-yaffs_test: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
- gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS)
-
-
-
-linux_test: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
- gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS)
+time_64_tests: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
+ gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) -lpthread