chiark / gitweb /
Makefile: Redone
authorMichel Pollet <buserror@gmail.com>
Thu, 22 Mar 2012 13:48:10 +0000 (13:48 +0000)
committerMichel Pollet <buserror@gmail.com>
Thu, 22 Mar 2012 13:48:10 +0000 (13:48 +0000)
commitaa6e6e914eb82f465ded1078331a6774146bfd65
treedd2ecad4d626e4a70e3bc041b0c23f2246e832ee
parent0183e6332a11547641d2029a7df435ab83db924b
Makefile: Redone

+ Removed most explicit pathnames, use the standard make "VPATH" to let
make find the files for itself.

+ Added a "hardware variant" variable that allows compiging Sanguino and
Gen7 as well as "generic" arduino.

+ Allows overriding the MOTHERBOARD define from the Makefile

+ Removed the 'preprocessor' bit that wasn't needed, now just "include" the
files that are needed, since it allows gcc to show the right file/line
when displaying error/warnings.

+ Uses gcc's own dependency generator to generate the .d files, and
and include these instead of self-patching the makefile

Signed-off-by: Michel Pollet <buserror@gmail.com>
Marlin/Configuration.h
Marlin/Makefile