1 # Makefile for handle_tests
4 # YAFFS: Yet another Flash File System. A NAND-flash specific file system.
6 # Copyright (C) 2003-2010 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.
19 YDI_FRAMEWORK_DIR = ../../
20 CLEAN_OBJS = handle_test emfile-2k-0
22 TESTFILES = handle_test.o
28 YAFFS_TEST_OBJS = $(COMMONTESTOBJS) $(TESTFILES)
31 ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(FUZZER_OBJS)
33 include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk
36 yaffs_test: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
37 gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS)
41 handle_test: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
42 gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS)