nicolasff / webdis

A Redis HTTP interface with JSON output
https://webd.is
BSD 2-Clause "Simplified" License
2.82k stars 307 forks source link

Add missing Make dependencies #168

Closed StefanosChaliasos closed 4 years ago

StefanosChaliasos commented 4 years ago

Hello

This pull request fixes the build script of this project. Specifically, it adds missing Make dependencies so that the targets of the project are re-generated correctly whenever there are updates to any of the dependent source files.

In this way, the project is incrementally built and we no longer sacrifice time in clean builds (i.e., builds after a make clean).

Note that this fix follows the best practices for tracking dependencies automatically (through gcc -MD)

For more details, see here. https://www.gnu.org/software/make/manual/html_node/Automatic-Prerequisites.html

StefanosChaliasos commented 4 years ago

done

nicolasff commented 4 years ago

Perfect, thank you!