I have several projects in C and C ++ that follow the basic structure that I have been using for some time. My source files are in src/*.c , intermediate files are in obj/*.[do] and the actual executable is in the top-level directory.
My makefiles follow something like this pattern:
Now I am at the point where I am packaging this for the Debian system. I use debuild to create a Debian source package and pbuilder to create a binary package. The debuild step should only perform clean target, but even this leads to the creation and inclusion of dependency files.
In short, my question really is: Can I somehow prevent make from generating dependencies when all I want to do is run clean target?
debian dependencies makefile gnu-make
StΓ©phan kochen
source share