I am using GNU Make 3.80.
In my Makefile_1, I call Makefile_2. In certain circumstances, Makefile_2 throws an error.
Is there a way for me to “catch” and “process” (inside Makefile_1) the error that Makefile_2 can make?
You have all the shell features:
target1: ${MAKE} -f Makefile_2 target2; \ case "$$?" in \ ... \ esac;
Source: https://habr.com/ru/post/1785521/More articles:MPMoviePlayerController iPhone 3G and .mov format - iphonememcpy () security in adjacent memory areas - c ++Can XStream be configured to use bidirectional (parent / child) links? - javaС++ volatile требуется при вращении на boost:: shared_ptr operator bool()? - c++Xcode error while trying to view .xcdatamodel - iosCreate a view controller with parameters - objective-cTripleDES Encryption in C # and PHP doesn't work the same (PKCS7, ECB)? - c #С# ASCII GetBytes, как установить, какой символ используется для неузнаваемого преобразования? - c++Writing EXE file to a batch file - exeBlackberry and Facebook Like button (mobile Internet) - mobile-websiteAll Articles