X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2FMakefile;h=eb13201c20013785d917a9b503121e52d5879c76;hp=dc52d49dc1ce4b0d1d02e1b9928d7c044a9873a6;hb=90c66937f76d1e4ce1fb43aed91219c4f1e443f1;hpb=10fffbf6cc8a96cb9b3b9164c668202010e37faa diff --git a/direct/timothy_tests/quick_tests/Makefile b/direct/timothy_tests/quick_tests/Makefile index dc52d49..eb13201 100644 --- a/direct/timothy_tests/quick_tests/Makefile +++ b/direct/timothy_tests/quick_tests/Makefile @@ -44,10 +44,13 @@ COMMONTESTOBJS = yaffscfg2k.o yaffs_ecc.o yaffs_fileem.o yaffs_fileem2k.o yaffsf # yaffs_checkptrwtest.o\ -YAFFSTESTOBJS = $(COMMONTESTOBJS) quick_tests.o test_mount_yaffs.o +YAFFSTESTOBJS = $(COMMONTESTOBJS) quick_tests.o lib.o test_mount_yaffs.o test_yaffs_unlinking.o test_yaffs_open_file.o test_yaffs_ftruncate.o test_yaffs_truncate.o \ + test_yaffs_write.o test_yaffs_read.o test_yaffs_lseek.o test_yaffs_access.o test_yaffs_stat.o +PYTONOSYMLINKS = yaffs_error_converter.c yaffs_error_converter.h +PYTHONOBJS = yaffs_error_converter.o -ALLOBJS = $(sort $(YAFFSTESTOBJS)) +ALLOBJS = $(sort $(YAFFSTESTOBJS)) $(PYTHONOBJS) YAFFSSYMLINKS = devextras.h yaffs_ecc.c yaffs_ecc.h yaffs_guts.c yaffs_guts.h yportenv.h yaffs_tagscompat.c yaffs_tagscompat.h \ yaffs_packedtags1.c yaffs_packedtags1.h yaffs_packedtags2.c yaffs_packedtags2.h \ @@ -72,7 +75,7 @@ DIRECTEXTRASYMLINKS = yaffscfg2k.c yaffs_fileem2k.c yaffs_fileem2k.h\ yaffs_ramdisk.c yaffs_ramdisk.h yaffs_ramem2k.c \ ynorsim.h ynorsim.c -SYMLINKS = $(YAFFSSYMLINKS) $(YAFFSDIRECTSYMLINKS) $(DIRECTEXTRASYMLINKS) +SYMLINKS = $(YAFFSSYMLINKS) $(YAFFSDIRECTSYMLINKS) $(DIRECTEXTRASYMLINKS) $(PYTONOSYMLINKS) #all: directtest2k boottest all: quick_tests @@ -80,6 +83,8 @@ all: quick_tests $(ALLOBJS): %.o: %.c gcc -c $(CFLAGS) -o $@ $< +$(PYTONOSYMLINKS): + ln -s ../../python/$@ $@ $(YAFFSSYMLINKS): ln -s ../../../$@ $@ @@ -91,8 +96,8 @@ $(DIRECTEXTRASYMLINKS): ln -s ../../basic-test/$@ $@ -quick_tests: $(SYMLINKS) $(YAFFSTESTOBJS) - gcc $(CFLLAG) -o $@ $(YAFFSTESTOBJS) +quick_tests: $(SYMLINKS) $(ALLOBJS) + gcc $(CFLLAG) -o $@ $(ALLOBJS)