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