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

39 lines
793 B
Makefile
Raw Normal View History

2014-02-14 17:17:25 +01:00
SRC = shell_commands.c sc_id.c sc_sys.c
2014-02-14 14:30:16 +01:00
ifneq (,$(filter transceiver,$(USEMODULE)))
SRC += sc_transceiver.c
endif
2014-02-14 14:30:16 +01:00
ifneq (,$(filter cc110x,$(USEMODULE)))
ifeq (,$(filter transceiver,$(USEMODULE)))
SRC += sc_cc1100.c
endif
2013-08-08 11:08:33 +02:00
endif
2014-02-14 14:30:16 +01:00
ifneq (,$(filter mci,$(USEMODULE)))
SRC += sc_disk.c
endif
2014-02-14 14:30:16 +01:00
ifneq (,$(filter ltc4150,$(USEMODULE)))
SRC += sc_ltc4150.c
endif
2014-02-14 14:30:16 +01:00
ifneq (,$(filter ps,$(USEMODULE)))
SRC += sc_ps.c
endif
2014-02-14 14:30:16 +01:00
ifneq (,$(filter rtc,$(USEMODULE)))
SRC += sc_rtc.c
endif
2014-02-14 14:30:16 +01:00
ifneq (,$(filter sht11,$(USEMODULE)))
SRC += sc_sht11.c
endif
2014-02-14 14:30:16 +01:00
ifneq (,$(filter lpc_common,$(USEMODULE)))
SRC += sc_heap.c
endif
2014-02-14 14:30:16 +01:00
ifneq (,$(filter random,$(USEMODULE)))
SRC += sc_mersenne.c
endif
OBJ = $(SRC:%.c=$(BINDIR)%.o)
DEP = $(SRC:%.c=$(BINDIR)%.d)
MODULE =shell_commands
2013-10-29 10:48:24 +01:00
include $(RIOTBASE)/Makefile.base