X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/816b59debff180edf0f7e04f465c88bd0cc6d060..a87bf37838e09fb4634a887cc8a6055104b49a01:/tests/Makefile.in?ds=sidebyside diff --git a/tests/Makefile.in b/tests/Makefile.in index 86b8dd9281..9923a9250e 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -54,7 +54,8 @@ TEST_OBJECTS = \ test_filestream.o \ test_memstream.o \ test_zlibstream.o \ - test_fontmap.o + test_fontmap.o \ + test_datetime.o ### Conditionally set variables: ### @@ -120,13 +121,9 @@ test$(EXEEXT): $(TEST_OBJECTS) data: @mkdir -p . @for f in testdata.fc; do \ - if test ! -e ./$$f ; \ - then x=yep ; \ - else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \ + if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \ + cp -pRf $(srcdir)/$$f . ; \ fi; \ - case "$$x" in ?*) \ - cp -pRf $(srcdir)/$$f . ;; \ - esac; \ done test_test.o: $(srcdir)/test.cpp @@ -186,6 +183,9 @@ test_zlibstream.o: $(srcdir)/streams/zlibstream.cpp test_fontmap.o: $(srcdir)/fontmap/fontmap.cpp $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $< +test_datetime.o: $(srcdir)/datetime/datetime.cpp + $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $< + # Include dependency info, if present: @IF_GNU_MAKE@-include .deps/*.d