王铭轩 仓库

Dependencies:   mbed

Fork of SBY_sw4stm32_nucleo_f103rb by w mx

SBY/makefile.targets

Committer:
xmwmx
Date:
2018-07-20
Revision:
0:7725181a2a09

File content as of revision 0:7725181a2a09:

# DO NOT REMOVE! Generated by the SW4STM32 exporter from the mbed project.

PREPROC_CMD ?= arm-none-eabi-cpp -E -P

ldclean:
	$(RM) linker-script-debug.ld
	$(RM) linker-script-release.ld

linker-script-debug.ld: ../mbed/TARGET_NUCLEO_F103RB/TOOLCHAIN_GCC_ARM/STM32F103XB.ld
	$(PREPROC_CMD) -DMBED_DEBUG -DMBED_TRAP_ERRORS_ENABLED=1 -Wl,-n -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group $< -o $@

SBY-debug.elf: linker-script-debug.ld

linker-script-release.ld: ../mbed/TARGET_NUCLEO_F103RB/TOOLCHAIN_GCC_ARM/STM32F103XB.ld
	$(PREPROC_CMD) -DNDEBUG -Wl,-n -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group $< -o $@

SBY-release.elf: linker-script-release.ld