1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/sam3x8e/Makefile
Hauke Petersen 31915bfe61 cpu: Initial import of SAM3X8E
- fixed spelling in uart driver
- marked cortexm-common a phony target
- fixed Makefiles
- added reboot interface implementation
- fixed documentation

- added UART0_BUFSIZE define

- added license header

- fixed documentation issues
2014-05-13 21:19:38 +02:00

22 lines
514 B
Makefile

# define the module that is build
MODULE = cpu
# add a list of subdirectories, that should also be build
DIRS = periph
.PHONY: all $(CORTEX_COMMON)
# when building the CPU module make sure, the STM std peripheral lib will also be build
all: $(CORTEX_COMMON) $(BINDIR)$(MODULE).a
@for i in $(DIRS) ; do $(MAKE) -C $$i ; done ;
$(CORTEX_COMMON):
@$(MAKE) -C $(CORTEX_COMMON)
include $(RIOTBASE)/Makefile.base
clean::
@for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;
@$(MAKE) -C $(CORTEX_COMMON) clean