projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updating Makefile to build more time tests.
[yaffs2.git]
/
direct
/
test-framework
/
unit_tests
/
64_and_32_bit_time
/
64_bit
/
Makefile
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 6cdcccd19c5aafc8d13fd91d946df3679d73ea1f..deff539e07ff28b4620b8d3ef6b1d33a63a781db 100644
(file)
--- 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 = ../../../
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)
YAFFS_TEST_OBJS = $(COMMONTESTOBJS)
@@
-32,10
+32,6
@@
include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk
phony. test: time_64_tests
./time_64_tests
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