summaryrefslogtreecommitdiff
path: root/n/avr/make/Makefile.avr
diff options
context:
space:
mode:
authorschodet2005-07-28 20:01:08 +0000
committerschodet2005-07-28 20:01:08 +0000
commit2d7050e4f2e9cd5950cf22beee8ae9c34dd18094 (patch)
tree666cb662661c20d25fb5813322a682d5aab8d273 /n/avr/make/Makefile.avr
parent05078aa1804d59641d34206f7ceb508cde4457b1 (diff)
Virure des folds.
Diffstat (limited to 'n/avr/make/Makefile.avr')
-rw-r--r--n/avr/make/Makefile.avr12
1 files changed, 6 insertions, 6 deletions
diff --git a/n/avr/make/Makefile.avr b/n/avr/make/Makefile.avr
index 26f3fd1..8485324 100644
--- a/n/avr/make/Makefile.avr
+++ b/n/avr/make/Makefile.avr
@@ -1,6 +1,6 @@
# Makefile.avr - AVR part Makefile.
#
-# Flags. {{{1
+# Flags.
AVR_CFLAGS = $(CFLAGS) -mmcu=$(AVR_MCU)
AVR_CPPFLAGS = $(CPPFLAGS) $(AVR_DEFS)
@@ -13,13 +13,13 @@ AVR_OBJDUMP = avr-objdump
AVR_COMPILE.c = $(AVR_CC) $(AVR_CFLAGS) $(AVR_CPPFLAGS) -c
AVR_LINK.o = $(AVR_CC) $(AVR_CFLAGS) $(AVR_LDFLAGS)
-# Main rules. {{{1
+# Main rules.
avr: elf lst hex
.PHONY: avr clean.avr elf lst text hex srec bin eeprom ehex esrec ebin
-# General rules. {{{1
+# General rules.
AVR_PROGS += $(PROGS)
AVR_ELFS = $(AVR_PROGS:%=%.avr.elf)
@@ -47,7 +47,7 @@ $(AVR_ELFS):
# Dependency checking.
-include $(AVR_OBJECTS:%.avr.o=%.avr.d)
-# Rules for building the .text rom images. {{{1
+# Rules for building the .text rom images.
TEXTS = $(AVR_PROGS:%=%.hex) $(AVR_PROGS:%=%.bin) $(AVR_PROGS:%=%.srec)
@@ -66,7 +66,7 @@ srec: $(AVR_PROGS:%=%.srec)
%.bin: %.avr.elf
$(AVR_OBJCOPY) -j .text -j .data -O binary $< $@
-# Rules for building the .eeprom rom images. {{{1
+# Rules for building the .eeprom rom images.
EEPROMS = $(AVR_PROGS:%=%_eeprom.hex) $(AVR_PROGS:%=%_eeprom.bin) \
$(AVR_PROGS:%=%_eeprom.srec)
@@ -86,7 +86,7 @@ esrec: $(AVR_PROGS:%=%_eeprom.srec)
%_eeprom.bin: %.avr.elf
$(AVR_OBJCOPY) -j .eeprom --change-section-lma .eeprom=0 -O binary $< $@
-# Cleaning. {{{1
+# Cleaning.
clean.avr:
rm -f *.avr.o *.avr.d $(AVR_ELFS) *.avr.lst *.avr.map $(TEXTS) $(EEPROMS)