[Prev][Next][Index][Thread]
Re: Please HELP me!! :))
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 22 Jul 2002, Luca Martella wrote:
>
> Hello all!! I need a little help about how to write a Makefile for
> compiling sample kernels like hello.c... there is any example helpful
> to me?? Thanks to all Luca
>
My first suggestion to you is to look at the Makefiles in the OSKit.
You'll see all about what is inside a Makefile (and if you look at the
right set of Makefiles, in the directory where the sample kernel's reside,
you'll find a set of make rules for all of that, including hello.c). Then
you may want to type "info make" and learn all about Makefiles and exactly
how to define rules and such. From that information, you will learn how
to construct a properly valid Makefile which will build your kernel
appropriately.
You'll also want to use a Makefile from the very start so that you never
wind up eventually "switching" to Makefiles from another method of
building. The project will one day get to be very complex if you stick
with it.
- Mike
=======================================================
Michael B. Trausch fd0man@phreaker.net
2843 Glenwood Rd. (419) 514-1405
Toledo, OH 43610 AIM: ToledoGuy19
=======================================================
Website located at http://fd0man.freeshell.org/. It is
not always up-to-date, but you'll have that with a busy
life such as mine.
=======================================================
Have programming skill and want something to use it on,
in your free time? You can help with my OS project....
=======================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6
iD8DBQE9O8BJE6eGQ7rZ1P4RAqk0AJwLC4AuC6y1UjsTwXE35ANT1tZ6YgCgsupT
U9uNe6dqhPkNDUPupPExXkY=
=VvUH
-----END PGP SIGNATURE-----
References: