mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 05:24:37 +08:00

Having just one depfile (.depend) means it has to be fully regenerated on every change, and it can't be done in parallel. After this change the rebuild time after touching a single test file has gone from 5.0 to 0.9 seconds. (make -j12) Build of tests from clean has gone from 8.1 to 5.5s. We could go even further and have one depfile per c-file, but this felt like a simple first step giving a nice improvement.
Helper files to run lwIP unit tests on unix-like systems. 1. Install the check library, through a package manager or from http://check.sourceforge.net/ 2. Put the lwip code in a directory called 'lwip' 3. Run `make check` 4. Make sure all tests pass