From f3dc7fc419e9b6581b223309a98f62e25ce46599 Mon Sep 17 00:00:00 2001 From: schodet Date: Sun, 10 Oct 2004 00:46:13 +0000 Subject: Correction du Makefile, problèmes de liage. --- n/avr/howto/Makefile.avr | 2 +- n/avr/howto/howto-avr.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'n') 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 -- cgit v1.2.3