1 # Makefile for 32 bit time test.
4 # YAFFS: Yet another Flash File System. A NAND-flash specific file system.
6 # Copyright (C) 2002-2018 Aleph One Ltd.
9 # Created by Timothy Manning <timothy@aleph1.co.uk>
11 # This program is free software; you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License version 2 as
13 # published by the Free Software Foundation.
15 # NB Warning this Makefile does not include header dependencies.
18 YDI_DIR = ../../../../
19 YDI_FRAMEWORK_DIR = ../../../
21 CLEAN_OBJS = time_32_tests emfile-2k-0 emfile-nand emfile-nand128MB
22 TESTFILES = time_32_tests.o
24 CFLAGS = -DCONFIG_YAFFS_USE_32_BIT_TIME_T
27 YAFFS_TEST_OBJS = $(COMMONTESTOBJS) $(TESTFILES)
30 ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(FUZZER_OBJS)
32 include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk
34 phony. test: time_32_tests
37 time_32_tests: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
38 gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) -lpthread