aboutsummaryrefslogtreecommitdiff
path: root/system-clock/Makefile.preamble
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2018-01-15 14:46:12 -0700
committerJosh Rahm <joshuarahm@gmail.com>2018-01-15 14:46:12 -0700
commit8e20f53dd3b33058508ff51bd19e49df19b06fb7 (patch)
tree9c8fa042aa57ebc94ad7e31519b243c3f00ff001 /system-clock/Makefile.preamble
parent178921510fb527ef294b29b690ec2ac1ac696d8e (diff)
downloadstm32l4-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.preamble4
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