summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschodet2004-10-10 00:46:13 +0000
committerschodet2004-10-10 00:46:13 +0000
commitf3dc7fc419e9b6581b223309a98f62e25ce46599 (patch)
tree5bdc2bcf22f1d601af522d6829379cd0cef2658c
parenta6bc13ba7b080870a3afa9868adfccbeeefc0fed (diff)
Correction du Makefile, problèmes de liage.
-rw-r--r--n/avr/howto/Makefile.avr2
-rw-r--r--n/avr/howto/howto-avr.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/n/avr/howto/Makefile.avr b/n/avr/howto/Makefile.avr
index 325be3f..c010642 100644
--- a/n/avr/howto/Makefile.avr
+++ b/n/avr/howto/Makefile.avr
@@ -4,7 +4,7 @@ CFLAGS = -g -Wall $(OPTIMIZE) -mmcu=$(MCU_TARGET)
CPPFLAGS = $(DEFS) -MMD $(INCLUDES) \
$(if $(CONFIGFILE), $(CONFIGFILE:%=-include %))
INCLUDES = -Imodules
-LDFLAGS =
+LDFLAGS = $(CFLAGS)
CC = avr-gcc
OBJCOPY = avr-objcopy
diff --git a/n/avr/howto/howto-avr.txt b/n/avr/howto/howto-avr.txt
index a82e1f1..9444b16 100644
--- a/n/avr/howto/howto-avr.txt
+++ b/n/avr/howto/howto-avr.txt
@@ -31,7 +31,8 @@ Sur les Windows, on peut faire fonctionner gcc avec AVR Studio.
Pour la programmation, il y a avrdude, programmation de l'AVR avec 3 fils.
Les fichiers |Makefile| et |Makefile.avr| livrés avec cet howto peuvent être
-utilisés pour compiler les projets.
+utilisés pour compiler les projets. Ces fichiers sont dans |n/chenil|, un
+petit programme d'exemple qui fait un chenillard avec ses sorties.
* Programmation avec avrdude