Summary Files Commits Branches @commit @diff @stats
path: root / Makefile
diff options
context:
space:
mode:
Commit6c28568f2fe50e0cea5206dbba6dc307c3adb7da (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-03-12 09:00:39 +0100
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-03-12 09:00:39 +0100
Files7a2aca7b8788ca29d855a89f3aeede2b88506155 /Makefile
goodwolf-6c28568f2fe50e0cea5206dbba6dc307c3adb7da.tar
goodwolf-6c28568f2fe50e0cea5206dbba6dc307c3adb7da.tar.gz
goodwolf-6c28568f2fe50e0cea5206dbba6dc307c3adb7da.zip
Parent272ed4245759fb4070984fb4d6fc7dafd2da7779 (diff)
Add `make format` and format the code
1 files changed, 3 insertions, 0 deletions
-rw-r--r--Makefile3
diff --git a/Makefile b/Makefile
index ebadbcf..17e7b2c 100644
--- a/Makefile
+++ b/Makefile
@@ -11,4 +11,7 @@ install: badwolf
clean:
rm badwolf
+format: *.c *.h
+ clang-format -style=file -assume-filename=~/.clang-format -i *.c *.h
+
.PHONY: clean install