aboutsummaryrefslogtreecommitdiff
path: root/examples/spiblink/makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-03-08 16:10:33 +0100
committerKarel Kočí <cynerd@email.cz>2016-03-08 16:10:33 +0100
commit5d29fe79d30f430ae326d9dc57ccfaed6fe61328 (patch)
tree8341804d561c0060176cbebc3f9a57c7c07f7816 /examples/spiblink/makefile
parent4e773191d447ac434536262a6f204dd991d4ad77 (diff)
downloadavr-ioe-5d29fe79d30f430ae326d9dc57ccfaed6fe61328.tar.gz
avr-ioe-5d29fe79d30f430ae326d9dc57ccfaed6fe61328.tar.bz2
avr-ioe-5d29fe79d30f430ae326d9dc57ccfaed6fe61328.zip
Another full update of current work
Diffstat (limited to 'examples/spiblink/makefile')
-rw-r--r--examples/spiblink/makefile32
1 files changed, 0 insertions, 32 deletions
diff --git a/examples/spiblink/makefile b/examples/spiblink/makefile
deleted file mode 100644
index 60ba9c9..0000000
--- a/examples/spiblink/makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-MAKEFLAGS += --no-builtin-rules
-
-MMCU = atmega328p
-F_CPU = 16000000L
-IOE_PREFIX = ../..
-IOE_CFLAGS ?= -Os -ffunction-sections -fdata-sections -fshort-enums -g -Wall \
- -DF_CPU=$(F_CPU) -mmcu=$(MMCU) \
- -DCONFIG_IOE_SPI
-
-.PHONY: all
-all: master.hex slave.hex
- @echo
- @echo Flash master.hex and slave.hex to two chips and... TODO
-
-.PHONY: all
-clean: ioeclean
- $(RM) master.o slave.o
- $(RM) master.elf master.hex
- $(RM) slave.elf slave.hex
-
-include ../../avr-ioe.mk
-
-master.elf: master.o
-slave.elf: slave.o
-master.elf slave.elf: %.elf: $(IOE_OBJ_SPI)
- avr-gcc -Os -mmcu=$(MMCU) $^ -o $@
-
-master.hex slave.hex: %.hex: %.elf
- avr-objcopy -O ihex -R .eeprom $< $@
-
-master.o slave.o: %.o: %.c
- avr-gcc $(IOE_CFLAGS) -c -o $@ $<