1 # Makefile for 64 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 MAINFILES = time_64_tests create_64_bit validate_64_bit
22 MAIN_OBJS = $(addsuffix .o,$(MAINFILES))
26 CLEAN_OBJS = $(MAINFILES)
28 YAFFS_TEST_OBJS = $(COMMONTESTOBJS) $(EXTRA_OBJS)
29 ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(MAIN_OBJS)
33 include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk
35 phony. test: time_64_tests
38 $(MAINFILES): $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS) $(MAIN_OBJS)
39 gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) $@.o -lpthread