aboutsummaryrefslogtreecommitdiff
path: root/src/cc20rng/Makefile
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2019-12-18 23:35:46 +0100
committerLinus Nordberg <linus@nordberg.se>2019-12-18 23:35:46 +0100
commitbef34ab8ac602d36d86b4a3f3013b89e3e2e5402 (patch)
tree49e3d625c250f18b7704ac25537e2e96f46ebcda /src/cc20rng/Makefile
parent15f056ce2278c75f7eadb3a33ffe7de6c21ab3b4 (diff)
Formatting cc20rng
Keep indentation level 2 in main.c to minimise changes.
Diffstat (limited to 'src/cc20rng/Makefile')
-rw-r--r--src/cc20rng/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cc20rng/Makefile b/src/cc20rng/Makefile
index 2873505..6c274be 100644
--- a/src/cc20rng/Makefile
+++ b/src/cc20rng/Makefile
@@ -29,6 +29,10 @@ $(PROJ_NAME).elf: $(SRCS)
$(OBJDUMP) -St $(PROJ_NAME).elf >$(PROJ_NAME).lst
$(SIZE) $(PROJ_NAME).elf
+c-format:
+ clang-format-4.0 -i cc20_prng.[ch]
+ clang-format-4.0 -style="{IndentWidth: 2}" -i main.c
+
clean:
find ./ -name '*~' | xargs rm -f
rm -f *.o