diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-03-26 19:34:04 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-11 16:56:55 -0400 |
commit | 6dd3c2e202e46c843e00498f5d9a675cfa83522d (patch) | |
tree | 5bdba9d1f6f4af230c763ff36bfc61aef4988aae /libmaple | |
parent | b70544a1fd713db6c9fb2cef773da2029cdc8c70 (diff) | |
download | librambutan-6dd3c2e202e46c843e00498f5d9a675cfa83522d.tar.gz librambutan-6dd3c2e202e46c843e00498f5d9a675cfa83522d.zip |
Clean up rules.mk files.
Alphabetize targets and remove continuation lines.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/rules.mk | 2 | ||||
-rw-r--r-- | libmaple/stm32f1/rules.mk | 8 | ||||
-rw-r--r-- | libmaple/stm32f2/rules.mk | 5 |
3 files changed, 8 insertions, 7 deletions
diff --git a/libmaple/rules.mk b/libmaple/rules.mk index 5675c1c..4c2a40f 100644 --- a/libmaple/rules.mk +++ b/libmaple/rules.mk @@ -17,9 +17,9 @@ cSRCS_$(d) += nvic.c cSRCS_$(d) += rcc.c cSRCS_$(d) += syscalls.c cSRCS_$(d) += systick.c -cSRCS_$(d) += util.c cSRCS_$(d) += usart.c cSRCS_$(d) += usart_private.c +cSRCS_$(d) += util.c sSRCS_$(d) := exc.S diff --git a/libmaple/stm32f1/rules.mk b/libmaple/stm32f1/rules.mk index b961d77..bdff00e 100644 --- a/libmaple/stm32f1/rules.mk +++ b/libmaple/stm32f1/rules.mk @@ -8,13 +8,13 @@ BUILDDIRS += $(BUILD_PATH)/$(d) CFLAGS_$(d) = -I$(d) $(LIBMAPLE_PRIVATE_INCLUDES) $(LIBMAPLE_INCLUDES) -Wall -Werror # Local rules and targets -sSRCS_$(d) := isrs_performance.S \ - vector_table_performance.S +sSRCS_$(d) := isrs_performance.S +sSRCS_$(d) += vector_table_performance.S -cSRCS_$(d) := rcc.c +cSRCS_$(d) := bkp.c cSRCS_$(d) += fsmc.c cSRCS_$(d) += gpio.c -cSRCS_$(d) += bkp.c +cSRCS_$(d) += rcc.c cSRCS_$(d) += usart.c sFILES_$(d) := $(sSRCS_$(d):%=$(d)/%) diff --git a/libmaple/stm32f2/rules.mk b/libmaple/stm32f2/rules.mk index 8711090..a46f8d1 100644 --- a/libmaple/stm32f2/rules.mk +++ b/libmaple/stm32f2/rules.mk @@ -8,11 +8,12 @@ BUILDDIRS += $(BUILD_PATH)/$(d) CFLAGS_$(d) = -I$(d) $(LIBMAPLE_INCLUDES) $(LIBMAPLE_PRIVATE_INCLUDES) -Wall -Werror # Local rules and targets -sSRCS_$(d) := isrs.S vector_table.S +sSRCS_$(d) := isrs.S +sSRCS_$(d) += vector_table.S -cSRCS_$(d) := rcc.c cSRCS_$(d) += fsmc.c cSRCS_$(d) += gpio.c +cSRCS_$(d) += rcc.c cSRCS_$(d) += usart.c sFILES_$(d) := $(sSRCS_$(d):%=$(d)/%) |