2013-02-06 13:20:21 +01:00
|
|
|
MODULE =cpu
|
|
|
|
|
2013-02-08 17:37:02 +01:00
|
|
|
INCLUDES = -I../include -Idrivers/include -I../arm_common/include -I../../sys/lib -I../../drivers/include -I../../core/include -I../../sys/include -I../../hal/include -I../../..
|
2013-02-06 13:20:21 +01:00
|
|
|
DIRS =
|
2013-02-08 17:37:02 +01:00
|
|
|
ifneq (,$(findstring gpioint,$(USEMODULE)))
|
|
|
|
DIRS += gpioint
|
|
|
|
endif
|
|
|
|
ifneq (,$(findstring mci,$(USEMODULE)))
|
|
|
|
DIRS += mci
|
|
|
|
endif
|
|
|
|
ifneq (,$(findstring rtc,$(USEMODULE)))
|
|
|
|
DIRS += rtc
|
|
|
|
endif
|
2013-08-07 16:54:10 +02:00
|
|
|
ifneq (,$(findstring i2c,$(USEMODULE)))
|
|
|
|
DIRS += i2c
|
|
|
|
endif
|
2013-02-06 13:20:21 +01:00
|
|
|
|
|
|
|
all: $(BINDIR)$(MODULE).a
|
2013-08-07 16:54:10 +02:00
|
|
|
@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;
|
2013-02-06 13:20:21 +01:00
|
|
|
|
2013-03-09 23:47:21 +01:00
|
|
|
include $(RIOTBASE)/Makefile.base
|
2013-02-06 13:20:21 +01:00
|
|
|
|
|
|
|
clean::
|
2013-08-07 16:54:10 +02:00
|
|
|
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean ; done ;
|
2013-02-06 13:20:21 +01:00
|
|
|
|