Article View: es.comp.os.linux.programacion
Article #1120Re: no se como se hace un makefile,,me podeís ayudar,..por favor?
From: gamo
Date: Mon, 13 Mar 2006 18:59
Date: Mon, 13 Mar 2006 18:59
35 lines
2101 bytes
2101 bytes
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--8323328-981991450-1142276390=:19807
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
On Mon, 13 Mar 2006, pacorubio77@gmail.com wrote:
> Hola..soy un poco nuevo en esto..y necesitaria un poco de ayuda..
> Tengo que hacer un makefile con los siguientes archivos o
> m=F3dules..lib1.cc lib.h y mi programa principal p1.cc..Como se
> har=EDa?Por favor agradecer=EDa ayuda..
>=20
F=E1cil: trinca un Makefile cualquiera (mejor si es sencillo)
y p=EDllale el tranquillo (c=F3pia lo que te interese).
Saludos,
PD: Aqu=ED te mando uno.
-------------------------------------------------->8 -----
CC =3D gcc
CFLAGS =3D -Wall -ansi -O2 -march=3Dathlon -m128bit-long-double -lm
SHELL =3D /bin/sh
ECHO =3D /bin/echo
RM =3D /bin/rm -f
all: new
${ECHO} "Compiling all to athlon/128bit"
new: new.c
${CC} ${CFLAGS} new.c -o new
clean:
${RM} *.o core a.out
--8323328-981991450-1142276390=:19807--
Technical Details
Message-ID:
<Pine.LNX.4.64.0603131954160.19807@jvz.es>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeed.telecable.es!cm-83-97-181-149.telecable.es!amoReferences:
<1142243290.294262.213000@z34g2000cwc.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,a868a9d06e31de1a X-Google-Attributes: gidf86c8,public X-Google-Language: SPANISH,ASCII Newsgroups: es.comp.os.linux.programacion Date: Mon, 13 Mar 2006 19:59:50 +0100 From: gamo <gamo@telecable.es> X-X-Sender: amo@jvz.es Reply-To: gamo@telecable.es Subject: Re: no se como se hace un makefile,,me podeís ayudar,..por favor? In-Reply-To: <1142243290.294262.213000@z34g2000cwc.googlegroups.com> Message-ID: <Pine.LNX.4.64.0603131954160.19807@jvz.es> References: <1142243290.294262.213000@z34g2000cwc.googlegroups.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-981991450-1142276390=:19807" NNTP-Posting-Host: 83.97.181.149 X-Trace: filemon1.isp.telecable.es 1142276340 83.97.181.149 (13 Mar 2006 19:59:00 +0100) Organization: TeleCable, S.A.U. Lines: 35 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeed.telecable.es!cm-83-97-181-149.telecable.es!amo