You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
1.9 KiB
83 lines
1.9 KiB
![]()
10 years ago
|
|
||
|
INCLUDES = -Iinclude -I$(RIOTBASE)/drivers/ -I$(RIOTBASE)/drivers/include -Ilib -I../.. -I../cpu/$(CPU)/include -I../cpu/ -Ilib/cmdengine -Inet -I../hal/include -I../core/include -Iconfig
|
||
|
|
||
|
MODULE =sys
|
||
![]()
10 years ago
|
ifneq (,$(findstring auto_init,$(USEMODULE)))
|
||
|
DIRS += auto_init
|
||
|
endif
|
||
![]()
10 years ago
|
ifneq (,$(findstring config,$(USEMODULE)))
|
||
|
DIRS += config
|
||
|
endif
|
||
|
ifneq (,$(findstring net,$(USEMODULE)))
|
||
|
DIRS += net
|
||
|
endif
|
||
|
ifneq (,$(findstring lib,$(USEMODULE)))
|
||
|
DIRS += lib
|
||
|
endif
|
||
|
ifneq (,$(findstring logd,$(USEMODULE)))
|
||
|
DIRS += logd
|
||
|
endif
|
||
|
ifneq (,$(findstring cmdd,$(USEMODULE)))
|
||
|
DIRS += cmdd
|
||
|
endif
|
||
|
ifneq (,$(findstring mprint,$(USEMODULE)))
|
||
|
DIRS += mprint
|
||
|
endif
|
||
![]()
10 years ago
|
ifneq (,$(findstring ping,$(USEMODULE)))
|
||
|
DIRS += ping
|
||
|
endif
|
||
![]()
10 years ago
|
ifneq (,$(findstring ps,$(USEMODULE)))
|
||
|
DIRS += ps
|
||
|
endif
|
||
![]()
10 years ago
|
ifneq (,$(findstring sync_read,$(USEMODULE)))
|
||
|
DIRS += sync_read
|
||
|
endif
|
||
|
ifneq (,$(findstring syslog,$(USEMODULE)))
|
||
|
DIRS += syslog
|
||
|
endif
|
||
|
ifneq (,$(findstring sysmon,$(USEMODULE)))
|
||
|
DIRS += sysmon
|
||
|
endif
|
||
|
ifneq (,$(findstring mqueue,$(USEMODULE)))
|
||
|
DIRS += mqueue
|
||
|
endif
|
||
![]()
10 years ago
|
ifneq (,$(findstring posix,$(USEMODULE)))
|
||
|
DIRS += posix
|
||
|
endif
|
||
![]()
10 years ago
|
ifneq (,$(findstring shell,$(USEMODULE)))
|
||
|
DIRS += shell
|
||
|
endif
|
||
![]()
10 years ago
|
ifneq (,$(findstring shell_commands,$(USEMODULE)))
|
||
|
DIRS += shell/commands
|
||
|
endif
|
||
![]()
10 years ago
|
ifneq (,$(findstring swtimer,$(USEMODULE)))
|
||
|
DIRS += swtimer
|
||
|
endif
|
||
![]()
10 years ago
|
ifneq (,$(findstring timex,$(USEMODULE)))
|
||
|
DIRS += timex
|
||
|
endif
|
||
![]()
10 years ago
|
ifneq (,$(findstring tracelog,$(USEMODULE)))
|
||
|
DIRS += tracelog
|
||
|
endif
|
||
|
ifneq (,$(findstring transceiver,$(USEMODULE)))
|
||
|
DIRS += transceiver
|
||
|
endif
|
||
![]()
10 years ago
|
ifneq (,$(findstring uart0,$(USEMODULE)))
|
||
|
DIRS += uart0
|
||
|
endif
|
||
|
ifneq (,$(findstring vtimer,$(USEMODULE)))
|
||
|
DIRS += vtimer
|
||
|
endif
|
||
![]()
10 years ago
|
|
||
|
all: $(BINDIR)$(MODULE).a
|
||
|
@for i in $(DIRS) ; do $(MAKE) -C $$i ; done ;
|
||
|
|
||
|
include $(RIOTBASE)/makefile.base
|
||
|
|
||
|
# remove compilation products
|
||
|
clean::
|
||
|
@for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;
|
||
|
|
||
|
|
||
|
|