Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lm3s/Makefile')
-rw-r--r--lib/lm3s/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/lm3s/Makefile b/lib/lm3s/Makefile
index 7bce6313..287ccacc 100644
--- a/lib/lm3s/Makefile
+++ b/lib/lm3s/Makefile
@@ -20,10 +20,8 @@
LIBNAME = libopencm3_lm3s
SRCLIBDIR ?= ..
-PREFIX ?= arm-none-eabi
-
-CC = $(PREFIX)-gcc
-AR = $(PREFIX)-ar
+CC = $(PREFIX)gcc
+AR = $(PREFIX)ar
TGT_CFLAGS = -Os \
-Wall -Wextra -Wimplicit-function-declaration \
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
@@ -35,7 +33,12 @@ TGT_CFLAGS += $(DEBUG_FLAGS)
TGT_CFLAGS += $(STANDARD_FLAGS)
# ARFLAGS = rcsv
ARFLAGS = rcs
-OBJS = gpio.o vector.o assert.o rcc.o usart.o
+
+OBJS += assert.o
+OBJS += gpio.o
+OBJS += rcc.o
+OBJS += usart.o
+OBJS += vector.o
VPATH += ../cm3