summaryrefslogtreecommitdiff
path: root/n/avr/modules/twi/slave/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'n/avr/modules/twi/slave/test/Makefile')
-rw-r--r--n/avr/modules/twi/slave/test/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/n/avr/modules/twi/slave/test/Makefile b/n/avr/modules/twi/slave/test/Makefile
new file mode 100644
index 0000000..219ae62
--- /dev/null
+++ b/n/avr/modules/twi/slave/test/Makefile
@@ -0,0 +1,21 @@
+BASE = ../../../..
+AVR_PROGS = test_twi_slave
+test_twi_slave_SOURCES = test_twi_slave.c
+DOC =
+EXTRACTDOC =
+MODULES = uart twi/slave
+CONFIGFILE = avrconfig.h
+# atmega8, atmega8535, atmega128...
+AVR_MCU = atmega8
+# -O2 : speed
+# -Os : size
+OPTIMIZE = -O2
+
+DEFS =
+LIBS =
+
+# Test compilations.
+TEST_MCU = atmega8535 atmega128
+TEST_CONFIGFILES = avrconfig.h
+
+include $(BASE)/make/Makefile.gen