yaffsfs.c: Fix NULL dereference in yaffs_unmount2_reldev()
[yaffs2.git] / direct / test-framework / basic-tests / Makefile
1 # Makefile for YAFFS direct 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 Charles Manning <charles@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
19
20
21 YDI_DIR = ../../
22 YDI_FRAMEWORK_DIR = ../
23
24 TARGETS = directtest2k reldevtest
25
26 all: $(TARGETS)
27
28 DIRECTTESTOBJS = $(COMMONTESTOBJS) dtest.o
29 RELDEVOBJS =  $(COMMONTESTOBJS) reldevtest.o
30
31 ALL_UNSORTED_OBJS += $(DIRECTTESTOBJS) $(RELDEVOBJS)
32
33 include ../FrameworkRules.mk
34
35 directtest2k: $(FRAMEWORK_SOURCES) $(DIRECTTESTOBJS) Makefile
36         gcc -o $@ $(DIRECTTESTOBJS) -lpthread
37
38 reldevtest: $(FRAMEWORK_SOURCES) $(RELDEVOBJS) Makefile
39         gcc -o $@ $(RELDEVOBJS) -lpthread
40