Re: Make
- From: Mike Wooding <timmywooding@xxxxxxxxx>
- Date: Tue, 17 Jan 2006 15:15:58 -0800 (PST)
--- Kartik CDS <kartik.cds@xxxxxxxxx> wrote:
> I am using the make utility to build a shared object (.so).
> If some of my files are not getting compiled, the so is being built
> with the
> remaining object files.
> Is there an option where in I can specify that if even 1 of the
> object file
> is not found, then dont build an so ?
make the target (the .so I presume) depend on the
files it needs compiled. E.g. if the main/default
make target is "all"
=======
all: file1.o file2.o
linkLibrary file1.o file2.o
file1.o: file1.c
compile file1.c
...
=======
Use "info make" for more detail/info.
He who laughs last thinks slowest.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- References:
- Make
- From: Kartik CDS
- Make
- Prev by Date: Redhat problem
- Next by Date: System Information
- Previous by thread: Make
- Next by thread: Cannot access home directory on /.
- Index(es):
Relevant Pages
|