2013-06-27 16:16:57 +02:00
|
|
|
SRC = shell_commands.c sc_id.c sc_heap.c
|
2013-08-06 16:36:37 +02:00
|
|
|
INCLUDES = -I../../../core/include -I../../include -I../../../drivers/include/
|
2013-02-08 17:37:02 +01:00
|
|
|
|
|
|
|
ifneq (,$(findstring cc110x_ng,$(USEMODULE)))
|
|
|
|
INCLUDES += -I$(RIOTBASE)/drivers/cc110x_ng/include/
|
|
|
|
SRC += sc_cc110x_ng.c
|
|
|
|
endif
|
2013-05-02 08:45:47 +02:00
|
|
|
ifneq (,$(findstring cc2420,$(USEMODULE)))
|
2013-06-25 15:33:40 +02:00
|
|
|
INCLUDES += -I$(RIOTBASE)/drivers/cc2420/include/ -I$(RIOTBASE)/sys/net/
|
2013-05-02 08:45:47 +02:00
|
|
|
SRC += sc_cc2420.c
|
|
|
|
endif
|
2013-02-08 17:37:02 +01:00
|
|
|
ifneq (,$(findstring cc110x,$(USEMODULE)))
|
|
|
|
INCLUDES += -I$(RIOTBASE)/drivers/cc110x/
|
|
|
|
SRC += sc_cc1100.c
|
|
|
|
endif
|
2013-08-08 11:08:33 +02:00
|
|
|
ifneq (,$(findstring nativenet,$(USEMODULE)))
|
|
|
|
INCLUDES += -I$(RIOTBASE)/cpu/native/include
|
|
|
|
SRC += sc_nativenet.c
|
|
|
|
endif
|
2013-02-08 17:37:02 +01:00
|
|
|
ifneq (,$(findstring mci,$(USEMODULE)))
|
|
|
|
SRC += sc_disk.c
|
|
|
|
endif
|
|
|
|
ifneq (,$(findstring ltc4150,$(USEMODULE)))
|
|
|
|
SRC += sc_ltc4150.c
|
|
|
|
endif
|
|
|
|
ifneq (,$(findstring ps,$(USEMODULE)))
|
|
|
|
SRC += sc_ps.c
|
|
|
|
endif
|
|
|
|
ifneq (,$(findstring rtc,$(USEMODULE)))
|
|
|
|
SRC += sc_rtc.c
|
|
|
|
endif
|
|
|
|
ifneq (,$(findstring sht11,$(USEMODULE)))
|
|
|
|
SRC += sc_sht11.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
|
2013-02-08 17:37:02 +01:00
|
|
|
|