#
# NB Warning this Makefile does not include header dependencies.
#
-# $Id: Makefile,v 1.1 2009-01-04 21:44:24 charles Exp $
+# $Id: Makefile,v 1.4 2009-11-09 19:16:33 charles Exp $
#EXTRA_COMPILE_FLAGS = -DYAFFS_IGNORE_TAGS_ECC
CFLAGS += -Wall -g $(EXTRA_COMPILE_FLAGS) -Wstrict-aliasing
#CFLAGS += -fno-strict-aliasing
CFLAGS += -O0
-#CFLAGS += -DVALGRIND_TEST
+#CFLAGS += -DCONFIG_YAFFS_VALGRIND_TEST
#CFLAGS+= -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations
#CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline
yaffs_tagscompat.o yaffs_packedtags2.o yaffs_tagsvalidity.o yaffs_nand.o \
yaffs_checkptrw.o yaffs_qsort.o\
yaffs_norif1.o ynorsim.o nor_stress.o yaffs_fsx.o
+
# yaffs_checkptrwtest.o\
YAFFSTESTOBJS = $(COMMONTESTOBJS) yaffs_test.o
YAFFSDIRECTSYMLINKS = yaffscfg2k.c yaffs_fileem2k.c yaffsfs.c yaffs_flashif.h yaffs_flashif2.h\
yaffs_fileem2k.h yaffsfs.h yaffs_malloc.h yaffs_ramdisk.h ydirectenv.h \
yaffscfg.h yaffs_fileem.c yaffs_flashif.c yaffs_ramdisk.c yaffs_ramem2k.c\
- yaffs_norif1.c yaffs_norif1.h ynorsim.c ynorsim.h
+ yaffs_norif1.c yaffs_norif1.h ynorsim.c ynorsim.h \
+ yaffs_nandif.c yaffs_nandif.h
SYMLINKS = $(YAFFSSYMLINKS) $(YAFFSDIRECTSYMLINKS)
clean:
- rm -f $(ALLOBJS) core
+ rm -f yaffs_test $(ALLOBJS) core $(YAFFSSYMLINKS) $(YAFFSDIRECTSYMLINKS)