aboutsummaryrefslogtreecommitdiff
path: root/src/cc20rng/Makefile
diff options
context:
space:
mode:
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 c52bc52..bc5fce5 100644
--- a/src/cc20rng/Makefile
+++ b/src/cc20rng/Makefile
@@ -45,6 +45,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:
rm -f *.o
rm -f $(PROJ_NAME).elf