make with multiple executables from same source files
Malcolm Preen
mpreen at hemel.bull.co.uk
Fri Nov 16 02:48:38 AEST 1990
gpz at ESD.3Com.COM (G. Paul Ziemba) writes:
>source1.def1.o: source1.c
> ${CC} -o source1.def1.o -DDEF1 -c $?
Giving the above as an example to create a .o with a different name from the
.c it comes from.
On our system, a Bull DPX/2-340, the man page says that -o is passed to ld(1)
and this is the case when trying it. All the people I have spoken to agree
that this is what is supposed to happen in Unix C.
--
|Malcolm Preen |Malcolm.Preen at hemel.bull.co.uk|
|Bull HN Info. Sys. Ltd.|HM14 UK03 |
|Maxted Road |Tel: +44 442 232222 x4367 |
|Hemel Hempstead, UK |Fax: +44 442 234084 |
+-----------------------+------------------------------+
--
|Malcolm Preen |Malcolm.Preen at hemel.bull.co.uk|
|Bull HN Info. Sys. Ltd.|HM14 UK03 |
|Maxted Road |Tel: +44 442 232222 x4367 |
|Hemel Hempstead, UK |Fax: +44 442 234084 |
+-----------------------+------------------------------+
More information about the Comp.unix.programmer
mailing list