From 04ec58ccedbb614d140edd3f6d7705efe9c91d85 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Thu, 21 Jan 2016 22:42:48 -0800 Subject: [PATCH] Update our astyle target --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2386e9b6..e73fd773 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,9 @@ THIRD_PARTY_HARDWARE=hardware/keyboardio/avr GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always) include ./_Makefile.Master astyle: - astyle --style=linux ArduinoKeyboard.ino *.h + find . -type f -name \*.cpp |xargs -n 1 astyle --style=google + find . -type f -name \*.ino |xargs -n 1 astyle --style=google + find . -type f -name \*.h |xargs -n 1 astyle --style=google generate-keymaps: -rm keymaps_generated.h