summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--README.md1
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 208cc9f..97dddd9 100644
--- a/Makefile
+++ b/Makefile
@@ -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)
diff --git a/README.md b/README.md
index fa54bbb..bbf803d 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,7 @@ $ git clone --recursive git@github.com:fabiomaciel/blast-attack.git
- make
- SDL2
- pkg-config
+- clang-format (optional)
## Contribute