Browse Source

Fix Makefile

JSON-80
Damiano Boppart 4 years ago
parent
commit
da28cd0c45
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      server/Makefile

+ 2
- 2
server/Makefile View File

@ -102,13 +102,13 @@ gtest_main.o: $(GTEST_DIR)/src/gtest_main.cc
%.d: %.cpp
@set -e; rm -f $@; \
$(CXX) -MM $(CXXFLAGS) $< > $@.$$$$; \
$(CXX) -MM $(CPPFLAGS) $(CXXFLAGS) $< > $@.$$$$; \
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
rm -f $@.$$$$
%.d: %.cc
@set -e; rm -f $@; \
$(CXX) -MM $(CXXFLAGS) $< > $@.$$$$; \
$(CXX) -MM $(CPPFLAGS) $(CXXFLAGS) $< > $@.$$$$; \
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
rm -f $@.$$$$


Loading…
Cancel
Save