test_formatconverter.o \
test_regex.o \
test_wxregex.o \
+ test_filename.o \
test_filesys.o \
test_arrays.o \
test_hashes.o \
test_filestream.o \
test_memstream.o \
test_zlibstream.o \
- test_fontmap.o
+ test_fontmap.o \
+ test_datetime.o
### Conditionally set variables: ###
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
test_wxregex.o: $(srcdir)/regex/wxregex.cpp
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
+test_filename.o: $(srcdir)/filename/filename.cpp
+ $(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
+
test_filesys.o: $(srcdir)/filesys/filesys.cpp
$(CXXC) -c -o $@ $(TEST_CXXFLAGS) $<
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