diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2018-01-15 14:46:12 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2018-01-15 14:46:12 -0700 |
| commit | 8e20f53dd3b33058508ff51bd19e49df19b06fb7 (patch) | |
| tree | 9c8fa042aa57ebc94ad7e31519b243c3f00ff001 /system-clock/Makefile.preamble | |
| parent | 178921510fb527ef294b29b690ec2ac1ac696d8e (diff) | |
| download | stm32l4-8e20f53dd3b33058508ff51bd19e49df19b06fb7.tar.gz stm32l4-8e20f53dd3b33058508ff51bd19e49df19b06fb7.tar.bz2 stm32l4-8e20f53dd3b33058508ff51bd19e49df19b06fb7.zip | |
reorganize sources into src and include directories.
Diffstat (limited to 'system-clock/Makefile.preamble')
| -rw-r--r-- | system-clock/Makefile.preamble | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system-clock/Makefile.preamble b/system-clock/Makefile.preamble index b53a130..4be2dac 100644 --- a/system-clock/Makefile.preamble +++ b/system-clock/Makefile.preamble @@ -2,8 +2,8 @@ OPT?=-O PREFIX?=arm-unknown-eabi- CC=$(PREFIX)gcc LD=$(PREFIX)ld -CFLAGS?=$(OPT) -mcpu=cortex-m4 -mthumb -g -lgcc -static -nostartfiles -LD_FLAGS?=-T linker_script.ld -nostdlib --cref -Map main.map -static +CFLAGS?=$(OPT) -mcpu=cortex-m4 -mthumb -g -lgcc -static -nostartfiles -Iinclude +LD_FLAGS?=-T linker/linker_script.ld -nostdlib --cref -Map linker/main.map -static all: _$(PREFIX)_obs/main.elf |