From 6263ed441f45d636d9a66f94e0bc30eaca13459f Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 6 Mar 2008 23:32:31 +0100 Subject: * digital/avr/modules/twi: - avrconfig cleanup. --- digital/avr/modules/twi/test/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'digital/avr/modules/twi/test/Makefile') diff --git a/digital/avr/modules/twi/test/Makefile b/digital/avr/modules/twi/test/Makefile index a5ba612e..1af68de3 100644 --- a/digital/avr/modules/twi/test/Makefile +++ b/digital/avr/modules/twi/test/Makefile @@ -2,10 +2,7 @@ # 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 +all: subclean # Slave $(MAKE) -f Makefile.slave cp test_twi_sl.hex test_twi_sl.keep.hex @@ -14,3 +11,11 @@ all: $(MAKE) -f Makefile.master cp test_twi_master.hex test_twi_master.keep.hex $(MAKE) -f Makefile.master clean + +subclean: + # General cleaning + $(MAKE) -f Makefile.slave clean + $(MAKE) -f Makefile.master clean + +clean: subclean + rm -f test_twi_master.keep.hex test_twi_sl.keep.hex -- cgit v1.2.3