1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-11 22:24:13 +01:00
Arduino/hardware/sam/system/libsam/build_gcc/Makefile

27 lines
742 B
Makefile
Raw Normal View History

# Makefile for compiling libchip
SUBMAKE_OPTIONS=--no-builtin-rules --no-builtin-variables
#-------------------------------------------------------------------------------
# Rules
#-------------------------------------------------------------------------------
2011-09-06 21:05:41 +02:00
# libchip_sam3s4c_gcc_rel.a
all: libchip_sam3s4c_gcc_dbg.a
2011-09-06 21:05:41 +02:00
libchip_sam3s4c_gcc_dbg.a:
@echo --- Making $@
2011-09-06 21:05:41 +02:00
@$(MAKE) CHIP=__SAM3S4C__ DEBUG=1 $(SUBMAKE_OPTIONS) -f sam3.mk
2011-09-06 21:05:41 +02:00
libchip_sam3s4c_gcc_rel.a:
@echo --- Making $@
2011-09-06 21:05:41 +02:00
@$(MAKE) CHIP=__SAM3S4C__ $(SUBMAKE_OPTIONS) -f sam3.mk
.PHONY: clean
clean:
2011-09-06 21:05:41 +02:00
@echo --- Cleaning sam3s4c release and debug
@$(MAKE) CHIP=__SAM3S4C__ $(SUBMAKE_OPTIONS) -f sam3.mk $@
@$(MAKE) CHIP=__SAM3S4C__ DEBUG=1 $(SUBMAKE_OPTIONS) -f sam3.mk $@