f1288a6e10662291f1e24ad2ea8dd67ccfb1f197
[yaffs2.git] / direct / test-framework / timothy_tests / is_yaffs_working_tests / Makefile
1 # Makefile for test_1_yaffs_mount
2 #
3 #
4 # YAFFS: Yet another Flash File System. A NAND-flash specific file system.
5 #
6 # Copyright (C) 2003-2010 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 CLEAN_OBJS = test_1_yaffs_mount emfile-2k-0
22 TESTFILES =     test_1_yaffs_mount.o  
23
24 all: test_1_yaffs_mount
25
26 YAFFS_TEST_OBJS = $(COMMONTESTOBJS) $(TESTFILES)
27
28
29 ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(FUZZER_OBJS)
30
31 include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk
32
33
34 yaffs_test: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
35         gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS)
36
37
38
39 test_1_yaffs_mount: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
40         gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS)
41