From d501e606ed7970fc4263000827a78d13478ba75f Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Mon, 17 Jun 2019 21:10:16 +0000 Subject: [PATCH] ti lm3s/lm4f: consistent makefiles --- lib/lm3s/Makefile | 7 ++++++- lib/lm4f/Makefile | 13 ++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/lib/lm3s/Makefile b/lib/lm3s/Makefile index 8c6338a7..287ccacc 100644 --- a/lib/lm3s/Makefile +++ b/lib/lm3s/Makefile @@ -33,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 diff --git a/lib/lm4f/Makefile b/lib/lm4f/Makefile index bc50bdc2..ab23f083 100644 --- a/lib/lm4f/Makefile +++ b/lib/lm4f/Makefile @@ -35,9 +35,16 @@ TGT_CFLAGS += $(DEBUG_FLAGS) TGT_CFLAGS += $(STANDARD_FLAGS) # ARFLAGS = rcsv ARFLAGS = rcs -OBJS = gpio.o vector.o assert.o systemcontrol.o rcc.o uart.o \ - usb_lm4f.o usb.o usb_control.o usb_standard.o -OBJS += usb_msc.o + +OBJS += assert.o +OBJS += gpio.o +OBJS += rcc.o +OBJS += systemcontrol.o +OBJS += uart.o +OBJS += vector.o + +OBJS += usb.o usb_control.o usb_standard.o usb_msc.o +OBJS += usb_lm4f.o VPATH += ../usb:../cm3