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%2F64_bit%2FMakefile;fp=direct%2Ftest-framework%2Funit_tests%2F64_and_32_bit_time%2F64_bit%2FMakefile;h=deff539e07ff28b4620b8d3ef6b1d33a63a781db;hp=6cdcccd19c5aafc8d13fd91d946df3679d73ea1f;hb=7934004aff8cc9c610933f688a55a5b5ed3cd050;hpb=9de407bd16e3a59ab43bced7ebf488b93dda1217 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 6cdcccd..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,10 +18,10 @@ 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 create_64_bit +all: $(MAINFILES) YAFFS_TEST_OBJS = $(COMMONTESTOBJS) @@ -32,10 +32,6 @@ include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk phony. test: time_64_tests ./time_64_tests +$(MAINFILES): $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS) + gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) $@.o -lpthread -time_64_tests: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS) - gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) time_64_tests.o -lpthread - - -create_64_bit: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS) - gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) create_64_bit.o -lpthread