mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
df13d9e0fc
Conflicts: drivers/cc110x_ng/Makefile
26 lines
594 B
Makefile
26 lines
594 B
Makefile
INCLUDES = -I$(RIOTBASE)/sys/include -I../../net -I../include -I../../lib -I../../../.. -I../../../cpu/ -I$(RIOTBASE)/core/include -I../../ -Iinclude/
|
|
MODULE =cc110x_ng
|
|
|
|
DIRS =
|
|
ifneq (,$(findstring msb-430h,$(BOARD)))
|
|
DIRS += spi
|
|
endif
|
|
ifneq (,$(findstring msba2,$(BOARD)))
|
|
DIRS += spi
|
|
endif
|
|
ifneq (,$(findstring wsn430-v1_3b,$(BOARD)))
|
|
DIRS += spi
|
|
endif
|
|
ifneq (,$(findstring native,$(BOARD)))
|
|
DIRS += spi
|
|
endif
|
|
|
|
all: $(BINDIR)$(MODULE).a
|
|
@for i in $(DIRS) ; do $(MAKE) -C $$i ; done ;
|
|
|
|
include $(RIOTBASE)/Makefile.base
|
|
|
|
clean::
|
|
@for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;
|
|
|