aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/mb525/Makefile
diff options
context:
space:
mode:
authorUwe Hermann2010-12-30 01:52:44 +0100
committerUwe Hermann2010-12-30 01:52:44 +0100
commitbcce98da54b047a15ef0abf41e0c7794f29f0439 (patch)
tree98462dcb9874341bd7342a1794ec01e8ad420d47 /examples/stm32/mb525/Makefile
parentb65f3f06d061823fac1af91594e0d702b4c80693 (diff)
Move STM32 examples to examples/stm32 subdir.
Diffstat (limited to 'examples/stm32/mb525/Makefile')
-rw-r--r--examples/stm32/mb525/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/examples/stm32/mb525/Makefile b/examples/stm32/mb525/Makefile
new file mode 100644
index 0000000..6653a8c
--- /dev/null
+++ b/examples/stm32/mb525/Makefile
@@ -0,0 +1,44 @@
+##
+## This file is part of the libopenstm32 project.
+##
+## Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
+##
+## This program is free software: you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation, either version 3 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program. If not, see <http://www.gnu.org/licenses/>.
+##
+
+# Be silent per default, but 'make V=1' will show all compiler calls.
+ifneq ($(V),1)
+Q := @
+# Do not print "Entering directory ...".
+MAKEFLAGS += --no-print-directory
+endif
+
+all: fancyblink pwmleds
+
+fancyblink:
+ @printf " BUILD examples/mb525/fancyblink\n"
+ $(Q)$(MAKE) -C fancyblink
+
+pwmleds:
+ @printf " BUILD examples/mb525/pwmleds\n"
+ $(Q)$(MAKE) -C pwmleds
+
+clean:
+ @printf " CLEAN examples/mb525/fancyblink\n"
+ $(Q)$(MAKE) -C fancyblink clean
+ @printf " CLEAN examples/mb525/pwmleds\n"
+ $(Q)$(MAKE) -C pwmleds clean
+
+.PHONY: fancyblink pwmleds clean
+