X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftest-framework%2Funit_tests%2F64_and_32_bit_time%2F32_bit%2FMakefile;h=8842f4b1d7b472e3644ce16afa7a72d1586eb0ff;hp=7c12c25bb3a3392bc5c8308aaea54de80a09db18;hb=HEAD;hpb=5758b7a95a391ac8e4d631fbea9fd409d1130a62;ds=sidebyside diff --git a/direct/test-framework/unit_tests/64_and_32_bit_time/32_bit/Makefile b/direct/test-framework/unit_tests/64_and_32_bit_time/32_bit/Makefile index 7c12c25..8842f4b 100644 --- a/direct/test-framework/unit_tests/64_and_32_bit_time/32_bit/Makefile +++ b/direct/test-framework/unit_tests/64_and_32_bit_time/32_bit/Makefile @@ -1,4 +1,4 @@ -# Makefile for 32 bit time test. +# Makefile for 64 bit time test. # # # YAFFS: Yet another Flash File System. A NAND-flash specific file system. @@ -18,22 +18,24 @@ YDI_DIR = ../../../../ YDI_FRAMEWORK_DIR = ../../../ -CLEAN_OBJS = time_32_tests emfile-2k-0 emfile-nand emfile-nand128MB -TESTFILES = time_32_tests.o +MAINFILES = time_32_tests create_32_bit validate_32_bit +MAIN_OBJS = $(addsuffix .o,$(MAINFILES)) -CFLAGS = -DCONFIG_YAFFS_USE_32_BIT_TIME_T -all: time_32_tests +EXTRA_OBJS = shared.o -YAFFS_TEST_OBJS = $(COMMONTESTOBJS) $(TESTFILES) +CLEAN_OBJS = $(MAINFILES) +CFLAGS = -DCONFIG_YAFFS_USE_32_BIT_TIME_T +YAFFS_TEST_OBJS = $(COMMONTESTOBJS) $(EXTRA_OBJS) +ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(MAIN_OBJS) -ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(FUZZER_OBJS) +all: $(MAINFILES) include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk phony. test: time_32_tests ./time_32_tests -time_32_tests: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS) - gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) -lpthread +$(MAINFILES): $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS) $(MAIN_OBJS) + gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) $@.o -lpthread -DCONFIG_YAFFS_USE_32_BIT_TIME_T