1 # Makefile for YAFFS direct 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 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.
22 YDI_FRAMEWORK_DIR = ../
24 TARGETS = yaffs2_image_maker
28 DIRECTTESTOBJS = $(COMMONTESTOBJS) yaffs2_image_maker.o
30 ALL_UNSORTED_OBJS += $(DIRECTTESTOBJS)
32 include ../FrameworkRules.mk
35 yaffs2_image_maker: $(FRAMEWORK_SOURCES) $(DIRECTTESTOBJS)
36 gcc -o $@ $(DIRECTTESTOBJS) -lpthread