Fix broken dependencies for .gmo files
This commit is contained in:
parent
4cb19a06ba
commit
e0230c5c55
@ -100,7 +100,7 @@ endif
|
||||
%.d: %.cc
|
||||
@echo " [DEP] $<"
|
||||
$(CXX) -MM -MT $(subst .cc,.o,$<) $(INCLUDES) $(TEST_INCLUDES) $(CXXFLAGS) $< > $@.$$$$;\
|
||||
sed 's,\([^ :]*\)\.o[ :]*,\1.o $@ : Makefile ,g' < $@.$$$$ > $@; \
|
||||
sed 's,\([^ :]*\)\.o[ :]*,\1.o \1.gmo $@ : Makefile ,g' < $@.$$$$ > $@; \
|
||||
$(RM) $@.$$$$
|
||||
|
||||
%.o: %.cc
|
||||
@ -180,7 +180,7 @@ cache_check: $(CACHE_CHECK_OBJECTS) cache/check.o
|
||||
DEPEND_FILES=\
|
||||
$(subst .cc,.d,$(SOURCE)) \
|
||||
$(subst .cc,.d,$(TEST_SOURCE)) \
|
||||
$(subst .cc,.d,$(PROGRAM_SOURCE))
|
||||
$(subst .cc,.d,$(PROGRAM_SOURCE))
|
||||
|
||||
.PHONY: clean distclean
|
||||
|
||||
|
@ -50,6 +50,7 @@ TEST_SOURCE=\
|
||||
unit-tests/cache_t.cc \
|
||||
unit-tests/endian_t.cc \
|
||||
unit-tests/space_map_t.cc \
|
||||
unit-tests/span_iterator_t.cc \
|
||||
unit-tests/thin_metadata_t.cc \
|
||||
unit-tests/transaction_manager_t.cc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user