summaryrefslogtreecommitdiff
path: root/n/avr/twi-slave/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'n/avr/twi-slave/Makefile')
-rw-r--r--n/avr/twi-slave/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/n/avr/twi-slave/Makefile b/n/avr/twi-slave/Makefile
new file mode 100644
index 0000000..82de367
--- /dev/null
+++ b/n/avr/twi-slave/Makefile
@@ -0,0 +1,18 @@
+PROGS = test_twi_slave
+test_twi_slave_OBJECTS = test_twi_slave.o twi_slave.o rs232.o
+DOC = twi_slave.html
+EXTRACTDOC = avrconfig.h twi_slave.h
+MODULES = n/avr/rs232
+CONFIGFILE = testconfig.h
+# atmega8, atmega8535, atmega128...
+MCU_TARGET = atmega8
+# -O2 : speed
+# -Os : size
+OPTIMIZE = -O2
+
+DEFS =
+LIBS =
+
+include Makefile.avr
+
+test_twi_slave.elf: $(test_twi_slave_OBJECTS)