Re: Makefile or Shell file

Milind (dmilind@india.hp.com)
Thu, 09 Aug 2001 11:44:35 +0530


I think any of them will help you out , but based on your requisites.

If you have tasks that are independent , then you can go for shell file and
execute
it using sh(sh-posix) or ksh(korn shell) or bash/ksh if you are using linux.

Makefile is generally used for a sequence of dependent tasks, normally the
makefile has a hierarchical structure, eg

target (exe): <a.o> <b.o>
<other dependencies like .a , .h files>

a.o : cc <options> a.c
<other dependencies like .h , .a files>
b.o: cc <options> b.c
.
.
.

So its really question of nature of tasks.

Sarada prasanna wrote:

> I have a process here before which I have to complete some pre required
> tasks ...Right now I do them manually.....i want an automated process that
> will do them automatically....
> Is there any way.....
> will makefile or shell file come to my rescue....
>
> cspn
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/