2013-02-08 17:37:02 +01:00
|
|
|
INCLUDES = -I$(RIOTBASE)/sys/include -I../../net -I../include -I../../lib -I../../../.. -I../../../cpu/ -I$(RIOTBASE)/core/include -I../../ -Iinclude/
|
2013-02-06 13:20:21 +01:00
|
|
|
MODULE =cc110x_ng
|
|
|
|
|
2013-02-08 17:37:02 +01:00
|
|
|
DIRS =
|
2013-02-15 22:17:42 +01:00
|
|
|
ifneq (,$(findstring msb-430h,$(BOARD)))
|
|
|
|
DIRS += spi
|
|
|
|
endif
|
2013-02-08 17:37:02 +01:00
|
|
|
ifneq (,$(findstring msba2,$(BOARD)))
|
|
|
|
DIRS += spi
|
|
|
|
endif
|
2013-03-21 17:08:41 +01:00
|
|
|
ifneq (,$(findstring native,$(BOARD)))
|
|
|
|
DIRS += spi
|
|
|
|
endif
|
2013-02-08 17:37:02 +01:00
|
|
|
|
|
|
|
all: $(BINDIR)$(MODULE).a
|
|
|
|
@for i in $(DIRS) ; do $(MAKE) -C $$i ; done ;
|
|
|
|
|
2013-03-09 23:47:21 +01:00
|
|
|
include $(RIOTBASE)/Makefile.base
|
2013-02-08 17:37:02 +01:00
|
|
|
|
|
|
|
clean::
|
|
|
|
@for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;
|
2013-02-06 13:20:21 +01:00
|
|
|
|