OVH Cloud OVH Cloud

Générer un makefile

2 réponses
Avatar
or.r
Bonjour,

Je souhaiterais réaliser une petite commande du genre;

monprog -t (affiche à l'écran: voici l'option t)
monprog -g (affiche à l'écran: voici l'option g)

Si je crée ce petit programme en shell, est-ce que je pourrais générer
ensuite un makefile ?

Ou je dois passer directement par un prog en C ?

Auriez-vous un exemple de script ? en shell et en c

Merci à l'avance.


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

2 réponses

Avatar
Francois Cerbelle
--/9DWx/yDrRhgMJTb
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le Mon, Oct 11, 2004 at 12:31:04PM +0200, or.r ecrit :
Si je crée ce petit programme en shell, est-ce que je pourrais géné rer
ensuite un makefile ?



Tu voudrais qu'il fasse quoi, exactement, ton Makefile ?

--
Avec l'amour et la pénicilline, on peut guérir le monde entier.
[Eugène Cloutier]

--/9DWx/yDrRhgMJTb
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBamX1n0FdfiSfsswRAvZcAKDBw+53XfrMiQRGCw0k7HIJDJoQhgCfWMwl
jkwIdYhXBIhV69zQmbVu7gk =p3uu
-----END PGP SIGNATURE-----

--/9DWx/yDrRhgMJTb--


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Jean-Luc Coulon (f5ibh)
--=-3pYZbbrYHDBdxt5ZzNGW
Content-Type: text/plain; charset=ISO-8859-1; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le 11.10.2004 12:31:04, or.r a écrit :
Bonjour,

Je souhaiterais réaliser une petite commande du genre;

monprog -t (affiche à l'écran: voici l'option t)
monprog -g (affiche à l'écran: voici l'option g)

Si je crée ce petit programme en shell, est-ce que je pourrais
générer ensuite un makefile ?



Si c'est un shell, il n'a pas besoin d'être construit.

Le Makefile sert à construire un programme ou une application.


Ou je dois passer directement par un prog en C ?

Auriez-vous un exemple de script ? en shell et en c



Euh? C'est quoi la question ?
Un exemple de script, de makefile, de programme C ?
Il y en a plein votre machine ....

Jean-Luc

Merci à l'avance.


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-
To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact






--=-3pYZbbrYHDBdxt5ZzNGW
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBBamd9UdGGXzzGnNARAuDPAJ9Yc/V6oIiZK+xRtV+KciotqDvcDACcDnaZ
7Lgdy4gKnNrZbjohL0Hluk0 =W+m5
-----END PGP SIGNATURE-----

--=-3pYZbbrYHDBdxt5ZzNGW--


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact