1 # Makefile for YAFFS direct stress 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 Charles Manning <charles@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.
24 $(YAFFSLIBOBJS): %.o: %.c
25 gcc -c $(CFLAGS) -o $@ $<
28 $(YAFFSDIRECTSYMLINKS):
31 $(DIRECTEXTRASYMLINKS):
32 ln -s ../basic-test/$@ $@
35 # Makefile for stress tests and fuzzer
38 # YAFFS: Yet another Flash File System. A NAND-flash specific file system.
40 # Copyright (C) 2003-2010 Aleph One Ltd.
43 # Created by Charles Manning <charles@aleph1.co.uk>
45 # This program is free software; you can redistribute it and/or modify
46 # it under the terms of the GNU General Public License version 2 as
47 # published by the Free Software Foundation.
49 # NB Warning this Makefile does not include header dependencies.
53 YDI_FRAMEWORK_DIR = ../
55 TARGETS = libyaffsfs.so
61 YAFFSLIBOBJS = $(COMMONTESTOBJS) yaffs_python_helper.o
63 ALL_UNSORTED_OBJS += $(YAFFSLIBOBJS)
65 include ../FrameworkRules.mk
70 libyaffsfs.so: $(FRAMEWORK_SOURCES) $(YAFFSLIBOBJS)
71 gcc -shared $(YAFFSLIBOBJS) -o $@