summaryrefslogtreecommitdiff
path: root/n/avr/howto
diff options
context:
space:
mode:
Diffstat (limited to 'n/avr/howto')
-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