MODULE = cpu INCLUDES += -I../include -I$(RIOTBASE)/core/include DIRS = ifneq (,$(findstring rtc,$(USEMODULE))) DIRS += rtc endif ifneq (,$(findstring nativenet,$(USEMODULE))) DIRS += net endif all: $(BINDIR)$(MODULE).a @for i in $(DIRS) ; do $(MAKE) -C $$i ; done ; include $(RIOTBASE)/Makefile.base clean:: @for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;