Mercurial > yaffs-ecoscentric
changeset 3:0bba9c44d9d7
*** empty log message ***
| author | charles |
|---|---|
| date | Wed, 03 Nov 2004 09:16:47 +0000 |
| parents | 3aa2a0c8196e |
| children | adce2e066382 |
| files | direct/Makefile |
| diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/direct/Makefile +++ b/direct/Makefile @@ -17,15 +17,17 @@ CFLAGS = -Wall -DCONFIG_YAFFS_DIRECT #CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline -DIRECTTESTOBJS = dtest.o yaffs_ecc.o yaffscfg.o yaffsfs.o yaffs_ramdisk.o yaffs_guts.o yaffs_fileem.o yaffs_packedtags.o yaffs_tagscompat.o +DIRECTTESTOBJS = dtest.o yaffscfg2k.o yaffs_ecc.o yaffs_fileem2k.o yaffsfs.o yaffs_guts.o yaffs_packedtags.o yaffs_ramdisk.o yaffs_tagscompat.o BOOTTESTOBJS = bootldtst.o yboot.o yaffs_fileem.o nand_ecc.o ALLOBJS = dtest.o nand_ecc.o yaffscfg.o yaffs_fileem.o yaffsfs.o yaffs_ramdisk.o bootldtst.o yboot.o -SYMLINKS = devextras.h yaffs_ecc.c yaffs_ecc.h yaffs_guts.c yaffs_guts.h yaffsinterface.h yportenv.h yaffs_tagscompat.c yaffs_tagscompat.h yportenv.h +SYMLINKS = devextras.h yaffs_ecc.c yaffs_ecc.h yaffs_guts.c yaffs_guts.h yaffsinterface.h yportenv.h yaffs_tagscompat.c yaffs_tagscompat.h -all: directtest boottest +#all: directtest2k boottest + +all: directtest2k $(ALLOBJS): %.o: %.c gcc -c $(CFLAGS) $< -o $@ @@ -33,7 +35,7 @@ all: directtest boottest $(SYMLINKS): ln -s ../$@ $@ -directtest: $(SYMLINKS) $(DIRECTTESTOBJS) +directtest2k: $(SYMLINKS) $(DIRECTTESTOBJS) gcc -o $@ $(DIRECTTESTOBJS)
