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



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to