summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/twi/test/Makefile
blob: a5ba612ea6c58c868645df72418f40e2881d16c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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