summaryrefslogtreecommitdiff
path: root/src/stm/Makefile.defs
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm/Makefile.defs')
-rw-r--r--src/stm/Makefile.defs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stm/Makefile.defs b/src/stm/Makefile.defs
index b1998f93..9adcfeb3 100644
--- a/src/stm/Makefile.defs
+++ b/src/stm/Makefile.defs
@@ -22,9 +22,9 @@ endif
include $(TOPDIR)/Makedefs
CC=$(ARM_CC)
-LIBS=-lpdclib-cortex-m3 -lgcc
+LIBS=$(PDCLIB_LIBS_M3) -lgcc
-AO_CFLAGS=-I. -I../stm -I../core -I../drivers -I../math -I..
+AO_CFLAGS=-I. -I../stm -I../core -I../drivers -I../math -I.. $(PDCLIB_INCLUDES)
STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib $(AO_CFLAGS)
LDFLAGS=-L../stm -Wl,-Taltos.ld