1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/shell/commands/Makefile
René Kijewski a3076c9726 shell: remove clutter from shell's Makefile
Remove clutter that was put into centralized Makefile.includes.
2014-03-04 21:12:17 +01:00

43 lines
894 B
Makefile

MODULE = shell_commands
SRC = shell_commands.c sc_sys.c
ifneq (,$(filter config,$(USEMODULE)))
SRC += sc_id.c
endif
ifneq (,$(filter transceiver,$(USEMODULE)))
SRC += sc_transceiver.c
endif
ifneq (,$(filter cc110x,$(USEMODULE)))
ifeq (,$(filter transceiver,$(USEMODULE)))
SRC += sc_cc1100.c
endif
endif
ifneq (,$(filter net_if,$(USEMODULE)))
INCLUDES += -I$(RIOTBASE)/sys/net/include
SRC += sc_net_if.c
endif
ifneq (,$(filter mci,$(USEMODULE)))
SRC += sc_disk.c
endif
ifneq (,$(filter ltc4150,$(USEMODULE)))
SRC += sc_ltc4150.c
endif
ifneq (,$(filter ps,$(USEMODULE)))
SRC += sc_ps.c
endif
ifneq (,$(filter rtc,$(USEMODULE)))
SRC += sc_rtc.c
endif
ifneq (,$(filter sht11,$(USEMODULE)))
SRC += sc_sht11.c
endif
ifneq (,$(filter lpc_common,$(USEMODULE)))
SRC += sc_heap.c
endif
ifneq (,$(filter random,$(USEMODULE)))
SRC += sc_mersenne.c
endif
include $(RIOTBASE)/Makefile.base