help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

issue on 'echo'ing names of files those


From: Ninad Pachpute
Subject: issue on 'echo'ing names of files those
Date: Fri, 06 Jan 2006 12:40:15 +0530

All,

I want to echo CC -c filename.c with compilation of each file.
with the following code snippet, it 'echo'ed name of first file that was compiled.
Can anybody tell me the reason?
And correct way to do it?

$(OBJECTS):$(SOURCES)
        @$(CC) -c $(CFLAGS) $< -o $@
        @echo "CC -c" $<


- Regards -
  Ninad

_________________________________________________________________
Vroom, Vrooooom! Get ready for the real speed. Drive the machine of your choice http://www.sulekha.com/classifieds/cllist.aspx?catid=280&nma=IN&c=Autos&ref=msn&ref2=atx10





reply via email to

[Prev in Thread] Current Thread [Next in Thread]