summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index e7c03dc..e3dde25 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
#!/usr/bin/make -f
-VERSION = 0
-PATCHLEVEL = .5
+VERSION = 1
+PATCHLEVEL = .0
SUBLEVEL =
EXTRAVERSION =
+NAME = little-bird
export VERSION
export PATCHLEVEL
@@ -131,7 +132,7 @@ export SIZE
# CFLAGS
CFLAGS_STD = -std=c11
-CFLAGS_OPT = -Os
+#CFLAGS_OPT = -Os
CFLAGS_MCU = -mlittle-endian
CFLAGS_MCU += -march=armv7e-m
@@ -177,9 +178,9 @@ export LDFLAGS
################################################################################
-.PHONY: all stm32l4-drivers libalx stm32l4-modules objects target flash erase reset clean mrproper
+.PHONY: all stm32l4-drivers libalx stm32l4-modules main target flash erase reset clean mrproper
-all: stm32l4-drivers libalx stm32l4-modules objects target
+all: target
stm32l4-drivers:
@echo ' MAKE drivers'
@@ -189,15 +190,15 @@ libalx:
@echo ' MAKE libalx'
$(Q)$(MAKE) base -C $(LIBALX_DIR)
-stm32l4-modules:
+stm32l4-modules: stm32l4-drivers libalx
@echo ' MAKE modules'
$(Q)$(MAKE) -C $(MODULES_DIR)
-objects:
- @echo " MAKE objects"
+main: libalx stm32l4-modules
+ @echo " MAKE main"
$(Q)$(MAKE) -C $(TMP_DIR)
-target:
+target: main
@echo " MAKE target"
$(Q)$(MAKE) -C $(BIN_DIR)