You are not logged in.

#1 2007-11-06 13:12:13

voodoo.child
Member
Registered: 2007-11-01
Posts: 30

make rule dependencies

i'm working on a project written in C++ and as usual I have to write the dependencies in the makefile. This annoys me since each time I add a new #include i have to modify the makefile. I found on the web that makedepend can do this automatically, but I cannot find it in arch repository? Does anybody know another tool to help me?


--
Alexandru

Offline

#2 2007-11-06 17:23:04

drakosha
Member
Registered: 2006-01-03
Posts: 253
Website

Re: make rule dependencies

Take a look here, http://rusmafia.org/linux/node/760 - the site is in russian, but u'll see general makefile which i believe handles dependencies. I'm hope i'm not wrong.

Offline

#3 2007-11-12 21:43:35

mclabaut
Member
Registered: 2007-06-18
Posts: 41

Re: make rule dependencies

makedepend is provided by the imake package (was installed on my computer).

As a side note, does somebody know a reliable way to find the package providing a file when you don't have the file on your computer ?

Offline

#4 2007-11-12 22:33:22

tam1138
Member
Registered: 2007-09-10
Posts: 238

Re: make rule dependencies

autoconf and automake do this, and are probably worth learning because they pervade free software.

Offline

Board footer

Powered by FluxBB