X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftest-framework%2Ftests%2FMakefile;fp=direct%2Ftest-framework%2Ftests%2FMakefile;h=cbfe1515fcbae31c15de8323b212a766b566f99d;hp=0000000000000000000000000000000000000000;hb=c08faae4258b29a794ad55ca160c5a247145c838;hpb=87b33ecd1898c99b9aa2b0abcbb3e6002d6b3532 diff --git a/direct/test-framework/tests/Makefile b/direct/test-framework/tests/Makefile new file mode 100644 index 0000000..cbfe151 --- /dev/null +++ b/direct/test-framework/tests/Makefile @@ -0,0 +1,37 @@ +# Makefile for stress tests and fuzzer +# +# +# YAFFS: Yet another Flash File System. A NAND-flash specific file system. +# +# Copyright (C) 2003-2010 Aleph One Ltd. +# +# +# Created by Charles Manning +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation. +# +# NB Warning this Makefile does not include header dependencies. +# + +YDI_DIR = ../../ +YDI_FRAMEWORK_DIR = ../ + +TARGETS = yaffs_test fuzzer + +all: $(TARGETS) + +YAFFS_TEST_OBJS = $(COMMONTESTOBJS) yaffs_test.o nor_stress.o yaffs_fsx.o +FUZZER_OBJS = fuzzer.o + +ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(FUZZER_OBJS) + +include ../FrameworkRules.mk + + +yaffs_test: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS) + gcc $(CFLLAG) -o $@ $(YAFFS_TEST_OBJS) + +fuzzer: $(FUZZER_OBJS) + gcc $(CFLAGS) -o $@ $<