What is the .PHONY, .SECONDARY .PRECIOUS 
Author Message
 What is the .PHONY, .SECONDARY .PRECIOUS

I don't know what it is..
How can I understand this sentence...
Is there any Website to reference this WORD???

================================
.SECONDARY:: ${BOBJS}

targetlib = ${LIBDIR}/${lib}.${LIBSUFFIX}

all:: ${BLDDIR}/.tree ${targetlib}

install:: all

clean::
    ${RM} ${BOBJS}
    ${RM} ${targetlib}

distclean:: clean
================================
and
================================
.PHONY: all install clean distclean

.PRECIOUS: ${BLDDIR}/.tree
================================



Mon, 04 Apr 2005 08:37:20 GMT  
 What is the .PHONY, .SECONDARY .PRECIOUS

Quote:

> I don't know what it is..
> How can I understand this sentence...
> Is there any Website to reference this WORD???
> ================================
> .SECONDARY:: ${BOBJS}
> targetlib = ${LIBDIR}/${lib}.${LIBSUFFIX}
> all:: ${BLDDIR}/.tree ${targetlib}
> install:: all
> clean::
>     ${RM} ${BOBJS}
>     ${RM} ${targetlib}
> distclean:: clean
> ================================
> and
> ================================
> .PHONY: all install clean distclean
> .PRECIOUS: ${BLDDIR}/.tree
> ================================

This is from a make file. It got nothing to do with C (except that
Makefiles are often used on some platforms, especially UNIX,  to
ease compiling and linking of lots of C files). Google-search for
the make utility (if you have a UNIX system chances are good that
you have a man page) or ask in in a more suitable newgroup, e.g.
comp.unix.programmer.
                                  Regards, Jens
--
      _  _____  _____

  _  | |  | |    | |
 | |_| |  | |    | |          http://www.physik.fu-berlin.de/~toerring
  \___/ens|_|homs|_|oerring


Mon, 04 Apr 2005 08:48:30 GMT  
 What is the .PHONY, .SECONDARY .PRECIOUS
Submitted by "xmatrix" to comp.lang.c:

Quote:
> I don't know what it is..
> How can I understand this sentence...
> Is there any Website to reference this WORD???

This has nothing to do with C.

Take a look in the manual for the Make utility that you are
using.  If you're using GNU Make, you might want to look here:
http://www.gnu.org/manual/make-3.79.1/html_node/make_37.html#IDX203

--

-----------------------------+------ This post ends with :wq



Mon, 04 Apr 2005 09:03:17 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. I am new to programming and am lost

2. Ole dataset secondary index question

3. Need secondary C tools

4. How to serialized events fired from a secondary thread

5. Creating a secondary window for ATL control

6. ActiveX event sent from secondary thread

7. Addressing secondary (non-default) interfaces

8. Dialog-Level Context help in a secondary help window

9. Secondary loop

10. Unhandled exception in Secondary thread

11. Need Help Referencing another DLL's methods in a secondary DLL

12. MFC, OpenGL and Secondary threads

 

 
Powered by phpBB® Forum Software