You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
526 B
Makefile
37 lines
526 B
Makefile
ifeq ($(CPU),lpc2387)
|
|
DIRS = arm_common lpc2387
|
|
endif
|
|
|
|
ifeq ($(CPU),lpc214x)
|
|
DIRS = arm_common lpc214x
|
|
endif
|
|
|
|
ifeq ($(CPU),cc430)
|
|
DIRS = msp430-common cc430
|
|
endif
|
|
|
|
ifeq ($(CPU),msp430x16x)
|
|
DIRS = msp430-common msp430x16x
|
|
endif
|
|
|
|
ifeq ($(CPU),native)
|
|
DIRS = native
|
|
endif
|
|
|
|
.PHONY: cpus
|
|
.PHONY: $(DIRS)
|
|
|
|
cpus: $(DIRS)
|
|
|
|
$(DIRS):
|
|
@$(MAKE) -C $@
|
|
|
|
clean:
|
|
@$(MAKE) -C lpc2387 clean
|
|
@$(MAKE) -C arm_common clean
|
|
@$(MAKE) -C cc430 clean
|
|
@$(MAKE) -C msp430-common clean
|
|
@$(MAKE) -C msp430x16x clean
|
|
@$(MAKE) -C native clean
|
|
|