2013-03-06 01:08:15 +01:00
|
|
|
MODULE = cpu
|
|
|
|
|
2013-08-08 11:08:33 +02:00
|
|
|
INCLUDES += -I../include -I$(RIOTBASE)/core/include
|
2013-03-06 01:08:15 +01:00
|
|
|
DIRS =
|
|
|
|
ifneq (,$(findstring rtc,$(USEMODULE)))
|
|
|
|
DIRS += rtc
|
|
|
|
endif
|
2013-08-08 11:08:33 +02:00
|
|
|
ifneq (,$(findstring nativenet,$(USEMODULE)))
|
|
|
|
DIRS += net
|
2013-03-21 17:08:41 +01:00
|
|
|
endif
|
2013-03-06 01:08:15 +01:00
|
|
|
|
|
|
|
all: $(BINDIR)$(MODULE).a
|
2013-08-06 18:58:24 +02:00
|
|
|
@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;
|
2013-03-06 01:08:15 +01:00
|
|
|
|
2013-03-12 16:03:37 +01:00
|
|
|
include $(RIOTBASE)/Makefile.base
|
2013-03-06 01:08:15 +01:00
|
|
|
|
|
|
|
clean::
|
2013-08-06 18:58:24 +02:00
|
|
|
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean ; done ;
|
2013-03-06 01:08:15 +01:00
|
|
|
|