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