mirror of
https://git.zx2c4.com/cgit
synced 2024-11-09 18:18:42 +00:00
df90b51baf
This uses gcc to generate dependency rules for each `.o` file, based on the corresponding `.c` file, into a new set of `.d` files (which are also defined to depend on the same set of source files as their `.o` files). Result: * all objectfile dependencies are correctly calculated * only the necessary dependencies are recalculated when a sourcefile is updated Inspiration for the build rules: * http://www.gnu.org/software/make/manual/make.html#Automatic-Prerequisites * http://make.paulandlesley.org/autodep.html Signed-off-by: Lars Hjemli <hjemli@gmail.com>
7 lines
80 B
Plaintext
7 lines
80 B
Plaintext
# Files I don't care to see in git-status/commit
|
|
cgit
|
|
cgit.conf
|
|
VERSION
|
|
*.o
|
|
*.d
|