X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Ftest-framework%2Funit_tests%2F64_and_32_bit_time%2F64_bit%2FMakefile;h=deff539e07ff28b4620b8d3ef6b1d33a63a781db;hb=7934004aff8cc9c610933f688a55a5b5ed3cd050;hp=a682ed6329b04ba2d4a7063efa08958fecba9fb3;hpb=e12e51da5815d80399ec8f5b0da69c7cd7a0f42e;p=yaffs2.git diff --git a/direct/test-framework/unit_tests/64_and_32_bit_time/64_bit/Makefile b/direct/test-framework/unit_tests/64_and_32_bit_time/64_bit/Makefile index a682ed6..deff539 100644 --- a/direct/test-framework/unit_tests/64_and_32_bit_time/64_bit/Makefile +++ b/direct/test-framework/unit_tests/64_and_32_bit_time/64_bit/Makefile @@ -18,12 +18,12 @@ YDI_DIR = ../../../../ YDI_FRAMEWORK_DIR = ../../../ -CLEAN_OBJS = time_64_tests emfile-2k-0 emfile-nand emfile-nand128MB -TESTFILES = time_64_tests.o +MAINFILES = time_64_tests create_64_bit +CLEAN_OBJS = $(MAINFILES) -all: time_64_tests +all: $(MAINFILES) -YAFFS_TEST_OBJS = $(COMMONTESTOBJS) $(TESTFILES) +YAFFS_TEST_OBJS = $(COMMONTESTOBJS) ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(FUZZER_OBJS) @@ -32,7 +32,6 @@ include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk phony. test: time_64_tests ./time_64_tests - -time_64_tests: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS) - gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) -lpthread +$(MAINFILES): $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS) + gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) $@.o -lpthread