make bug? (W. Tasin)

W. Tasin tasin at fhm.edu
Fri Feb 22 16:36:02 UTC 2002


Hi Roland,

Roland Krause wrote:

>>   4. make bug? (W. Tasin)
>>
>Hi Walter,
>this maybe naive of me but I give it a shot anyway :-) 
>
>>#>+ 2
>>$(srcdir)/testkcm.cpp: testkcm.moc
>>
>
>Can/Should the rule be changed into 
>
>$(srcdir)/testkcm.cpp: $(srcdir}/testkcm.moc
>
No it can't (and it wouldn't help either ;-)):
testkcm.moc will be created by "moc" from testkcm.h and - as every 
result from a make rule - it will/should be in the builddir (i.e. the 
actual dir where make runs) and not in the srcdir.

I personally think that the left side of the rule is the problem:
---
/home/tasin/project/testkcm/testkcm/testkcm.cpp: testkcm.moc
---
doesn't work, while:
---
./testkcm.cpp: testkcm.moc
---
does.

>
>
>???
>Roland
>
Ciao

Walter

>___________________________________
>Kdevelop-devel mailing list
>Kdevelop-devel at barney.cs.uni-potsdam.de
>http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>

-- 
oohhh sveglia.... il mondo e' ammalato, ma x colpa di chi.........
(Zucchero)
:-------W._Tasin,_FB_04,_FHM-------------------PGP-KeyID:0x7961A645---:
<Key-Fingerprint: 1610 835F 0080 32F4 6140  6CF7 A7D0 44CD 7961A645>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=index&search=0x7961A645&fingerprint=on>







More information about the KDevelop-devel mailing list