From 4ec81b01f53f56a994ccdca8445755c57750a5d5 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Mon, 17 Jun 2019 21:07:31 +0000 Subject: [PATCH] lpc13xx/lpc17xx: consistent makefiles --- lib/lpc13xx/Makefile | 3 ++- lib/lpc17xx/Makefile | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/lpc13xx/Makefile b/lib/lpc13xx/Makefile index 35f27a3f..7d12597e 100644 --- a/lib/lpc13xx/Makefile +++ b/lib/lpc13xx/Makefile @@ -33,7 +33,8 @@ TGT_CFLAGS += $(DEBUG_FLAGS) TGT_CFLAGS += $(STANDARD_FLAGS) # ARFLAGS = rcsv ARFLAGS = rcs -OBJS = gpio.o + +OBJS += gpio.o VPATH += ../cm3 diff --git a/lib/lpc17xx/Makefile b/lib/lpc17xx/Makefile index c970bea1..eaaef8c8 100644 --- a/lib/lpc17xx/Makefile +++ b/lib/lpc17xx/Makefile @@ -33,7 +33,9 @@ TGT_CFLAGS += $(DEBUG_FLAGS) TGT_CFLAGS += $(STANDARD_FLAGS) # ARFLAGS = rcsv ARFLAGS = rcs -OBJS = gpio.o pwr.o + +OBJS += gpio.o +OBJS += pwr.o VPATH += ../cm3