deff539e07ff28b4620b8d3ef6b1d33a63a781db
[yaffs2.git] / direct / test-framework / unit_tests / 64_and_32_bit_time / 64_bit / Makefile
1 # Makefile for 64 bit time test.
2 #
3 #
4 # YAFFS: Yet another Flash File System. A NAND-flash specific file system.
5 #
6 # Copyright (C) 2002-2018 Aleph One Ltd.
7 #
8 #
9 # Created by Timothy Manning <timothy@aleph1.co.uk>
10 #
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.
14 #
15 # NB Warning this Makefile does not include header dependencies.
16 #
17
18 YDI_DIR = ../../../../
19 YDI_FRAMEWORK_DIR = ../../../
20
21 MAINFILES = time_64_tests create_64_bit
22 CLEAN_OBJS = $(MAINFILES) 
23
24 all: $(MAINFILES) 
25
26 YAFFS_TEST_OBJS = $(COMMONTESTOBJS) 
27
28
29 ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(FUZZER_OBJS)
30
31 include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk
32
33 phony. test: time_64_tests
34         ./time_64_tests
35 $(MAINFILES): $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
36         gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) $@.o -lpthread
37