From e1f7db670b2e5aab68073fe2192f228debd4c78a Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Sun, 2 Mar 2008 22:23:21 +0100 Subject: * avr/modules/twi - add a Makefile to help you build the test program. --- digital/avr/modules/twi/test/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 digital/avr/modules/twi/test/Makefile (limited to 'digital') diff --git a/digital/avr/modules/twi/test/Makefile b/digital/avr/modules/twi/test/Makefile new file mode 100644 index 00000000..a5ba612e --- /dev/null +++ b/digital/avr/modules/twi/test/Makefile @@ -0,0 +1,16 @@ +# Quick dirty makefile to help you build the test program for twi. +# It is required to clean before building each program because they share the +# same object with different defines. +# Files are copied in *.keep.hex. +all: + # General cleaning + $(MAKE) -f Makefile.slave clean + $(MAKE) -f Makefile.master clean + # Slave + $(MAKE) -f Makefile.slave + cp test_twi_sl.hex test_twi_sl.keep.hex + $(MAKE) -f Makefile.slave clean + # Master + $(MAKE) -f Makefile.master + cp test_twi_master.hex test_twi_master.keep.hex + $(MAKE) -f Makefile.master clean -- cgit v1.2.3