mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
20 lines
375 B
Makefile
20 lines
375 B
Makefile
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 ;
|
|
|