diff options
author | Johnny Richard <johnny@johnnyrichard.com> | 2022-12-16 15:58:38 +0100 |
---|---|---|
committer | Fábio Maciel <6810827+fabiomaciel@users.noreply.github.com> | 2022-12-17 11:40:05 -0300 |
commit | 476fcd113270fac1adac7c0cbbd5e221d2b5ad95 (patch) | |
tree | 54cb2cbcc7be28efc3738c6d6ac3c0098de37868 | |
parent | dd5d9a63287896269c01da88db9f50506f06c292 (diff) |
styling: Add target checkstyle to Makefile
Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | README.md | 1 |
2 files changed, 4 insertions, 0 deletions
@@ -46,6 +46,9 @@ test: lib/libmunit.so $(BUILD_DIR) $(TESTS) lib/libmunit.so: $(LIB_DIR) third_party/munit/munit.c $(CC) -Wall -fpic -c third_party/munit/munit.c -shared -o lib/libmunit.so +checkstyle: + clang-format -dry-run -Werror */**.c */**.h + clean: @rm -rf $(BUILD_DIR) @rm -rf $(LIB_DIR) @@ -12,6 +12,7 @@ $ git clone --recursive git@github.com:fabiomaciel/blast-attack.git - make - SDL2 - pkg-config +- clang-format (optional) ## Contribute |