]> git.sur5r.net Git - i3/i3/commit
makefile: rather than a dependency for each source file, generate loglevels.h by...
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 22 Dec 2009 11:14:09 +0000 (12:14 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 22 Dec 2009 11:14:09 +0000 (12:14 +0100)
commit75ac464c0dc7758a0db7723da4bb9dcf061466eb
tree7c48494cfa6d0f907ff7065b3aa70ac2b6ce5a8f
parent9df64a8d0ae1e622363b0483e1b7220c178be773
makefile: rather than a dependency for each source file, generate loglevels.h by recursion

This little hack runs make recursively to generate include/loglevels.h
before running any other target but skip an explicit dependency on
loglevels.h in each rule. Therefore, you do not need to rebuild
every source file when compiling.
Makefile
common.mk