Re: [avr-gcc-list] Makefile Changes

2006-07-11 Thread Anton Erasmus
On 9 Jul 2006 at 8:25, Sumeet Pal Singh wrote:

> 
> Hi
> I installed WinAvr for Windows and mostly use AVR for robotics purpose. 
> Recently I kept files in 
> one deirectory which also had a makefile. When I changed the filename to be 
> compiled in 
> Makefile not making changes in file itself, it did not compile the file. Also 
> the program written was 
> the old project.hex file. Due to absence of compilation, new project.hex was 
> not created.
> Can someone suggest some way(part of code of Makefile to change) to make 
> avr-gcc to compile 
> irrespective of whether the source file has been modified on not. I am not 
> good in shell scripting. 

Hi,

This is counter productive. The normal way to force a recompile of everything 
is to:
make clean
make all

Regards
  Anton Erasmus-- 
A J Erasmus



___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list


RE: [avr-gcc-list] Makefile Changes

2006-07-09 Thread Dave Hansen

From: "Sumeet Pal Singh" <[EMAIL PROTECTED]>



[...]

Can someone suggest some way(part of code of Makefile to change)  to make
avr-gcc to compile irrespective of whether the source file has been 
modified

on not. I am not good in shell scripting.



If I understand what you're asking for, all you should need to do is add the 
-B (or the --always-make) option to your make command line.  For example, if 
you normally start make with


  make all

Just change that to

  make -B all

HTH,
  -=Dave




___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list


Re: [avr-gcc-list] Makefile Changes

2006-07-09 Thread Parthasaradhi Nayani
Hello Sumeet,If you do not make changes to the source, then why compile again? If you do make changes, WinAvr will compile.RegardsNayaniSumeet Pal Singh <[EMAIL PROTECTED]> wrote:Can someone suggest some way(part of code of Makefile to change)  to make avr-gcc to compile irrespective of whether the source file has been modified on not. I am not good in shell scripting. ThanksSumeet 
		Do you Yahoo!? Everyone is raving about the  all-new Yahoo! Mail Beta.___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list


[avr-gcc-list] Makefile Changes

2006-07-08 Thread Sumeet Pal Singh
HiI installed WinAvr for Windows and mostly use AVR for robotics purpose. Recently I kept files in one deirectory which also had a makefile. When I changed the filename to be compiled in Makefile not making changes in file itself, it did not compile the file. Also the program written was the old 
project.hex file. Due to absence of compilation, new project.hex was not created.Can someone suggest some way(part of code of Makefile to change)  to make avr-gcc to compile irrespective of whether the source file has been modified on not. I am not good in shell scripting.
ThanksSumeet
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list