Re: [Fichier rules]Problème de compilation

Berillions <[email protected]>
Newsgroups gmane.linux.debian.devel.french
Message-ID <[email protected]>
> Sinon si tu gardes un makefile comme maintenant tu dois fair un truc du
> genre:
>
> clean:
>        rm build-stamp
>
> build: build-stamp
> build-stamp:
>        ....
>        touch build-stamp
>
> Ceci pour éviter de relancer build plusieurs fois.
>

J'ai modifié mon fichier rules pour prendre en compte tes remarques. Pour
l'instant, ça à l'air de fonctionner correctement.
Par contre, dans mon build-stamp, j'ai les lignes de compilation/build pour
les deux architectures.  Serait-ce plus propre de modifier le fichier rules
pour qu'il ressemble à ceci :

clean:
>        rm -f build-stamp-arch32
>        rm -f build-stamp-arch64
>
> build: build-stamp-arch64
>          build-stamp-arch32
>
> build-stamp-arch64:
>        [...]
>        touch build-stamp-arch64
>
> build-stamp-arch32:
>        [...]
>        touch build-stamp-arch32
>

J'avoue que j'ai essayé cette version, le build-stamp-arch64 s'est fait
correctement, mais j'ai eu une erreur de compilation lorsqu'il a voulu
passer au build-stamp-arch32 -> "build-stamp-arch32" commande introuvable,
erreur 127 ..."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.