User Tools

Site Tools


microcontrollers:winavr_makefile_template

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
microcontrollers:winavr_makefile_template [2012/01/24 20:00] mithatmicrocontrollers:winavr_makefile_template [2012/01/24 21:28] (current) mithat
Line 6: Line 6:
  
   * The part that launches debugging (i.e., the ''debug'' target--which needs work anyway as it launches ''simulavr'' unconditionally) and has no support for ''ddd''. I'd also like to compare the gbdinit file to those made my others.   * The part that launches debugging (i.e., the ''debug'' target--which needs work anyway as it launches ''simulavr'' unconditionally) and has no support for ''ddd''. I'd also like to compare the gbdinit file to those made my others.
-  * The "Create object files directory" near the end is suspect; better to ''@mkdir -p $(OBJDIR)'' in the complies? +  * <del>The "Create object files directory" near the end is suspect; better to ''@mkdir -p $(OBJDIR)'' in the complies?</del> Seems to work. 
-  * The dependency checking ''include'' is also suspect.+  * <del>The dependency checking ''include'' is also suspect.</del> Seems to work.
  
 Contemplated improvements: Contemplated improvements:
  
-  * I think the template also needs a clause for adding external libs (i.e., ''-l{USERLIBNAME}'' found in -L''{libPATH_TO_USER_LIBNAME}.a''). +  * <del>I think the template also needs a clause for adding external libs (i.e., ''-l{USERLIBNAME}'' found in -L''{libPATH_TO_USER_LIBNAME}.a'').</del> Done
-  * The directory that stores dependency files is hardcoded a the hidden ''.deps'' directory. Make this a macro and make in not hidden by default. +  * <del>The directory that stores dependency files is hardcoded a the hidden ''.deps'' directory. Make this a macro and make in not hidden by default.</del> Done
-  * OBJDIR isn't removed by a ''clean''. In the makefile's present form (i.e., OBJDIR defaults to '.'), this is the right thing to do; you don't want to delete '.'. Is there a way to //force// OBJDIR to be not be '.'?+  * <del>OBJDIR isn't removed by a ''clean''. In the makefile's present form (i.e., OBJDIR defaults to '.'), this is the right thing to do; you don't want to delete '.'. Is there a way to //force// OBJDIR to be not be '.'?</del> Added code to check for '.' before 'rm -rf'.
  
 <file make makefile_template> <file make makefile_template>
microcontrollers/winavr_makefile_template.1327435252.txt.gz · Last modified: 2012/01/24 20:00 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki