mirror of
https://github.com/nasa/trick.git
synced 2025-06-23 01:08:52 +00:00
Lost the MAKE_out file when we updated simulation makefiles #412
Added echos to all compile commands to append to MAKE_out. tee'd the output of the compile command so that it will go to both the MAKE_out file and the screen.
This commit is contained in:
@ -385,7 +385,8 @@ void PrintAttributes::printIOMakefile() {
|
||||
<< std::endl
|
||||
<< "$(IO_OBJECTS): \%.o : \%.cpp \%.d" << std::endl
|
||||
<< "\t$(PRINT_COMPILE)" << std::endl
|
||||
<< "\t$(ECHO_CMD)$(TRICK_CPPC) $(TRICK_CXXFLAGS) $(TRICK_SYSTEM_CXXFLAGS) -MMD -MP -c -o $@ $<" << std::endl
|
||||
<< "\t@echo $(TRICK_CPPC) $(TRICK_CXXFLAGS) $(TRICK_SYSTEM_CXXFLAGS) -MMD -MP -c -o $@ $< >> $(MAKE_OUT)" << std::endl
|
||||
<< "\t$(ECHO_CMD)$(TRICK_CPPC) $(TRICK_CXXFLAGS) $(TRICK_SYSTEM_CXXFLAGS) -MMD -MP -c -o $@ $< 2>&1 | $(TEE) -a $(MAKE_OUT)" << std::endl
|
||||
<< std::endl
|
||||
<< "$(IO_OBJECTS:.o=.d): ;" << std::endl
|
||||
<< std::endl
|
||||
|
Reference in New Issue
Block a user