
27-07-2007, 11:05
|
 |
|
|
חבר מתאריך: 17.09.05
הודעות: 6,023
|
|
|
MakeFile
hello
i can't write hebrew. sorry
How can i create "makefile" file ?
I have 3 files:
"shell.c" - the main file. this file includes 2 more files :
includes/errors.c
includes/header.c
I tried to do somthing like this:
קוד:
OurShell: OurShell/OurShell.o OurShell/includes/errors.o OurShell/includes/NiceHeader.o
gcc -c -o OurShell OurShell/OurShell.o OurShell/includes/errors.o OurShell/includes/NiceHeader.o
OurShell/OurShell.o: OurShell/includes/errors.o OurShell/includes/NiceHeader.o:
gcc OurShell/OurShell.o OurShell/includes/errors.o OurShell/includes/NiceHeader.o
thanks
_____________________________________

|