aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-09-03 11:01:00 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-09-03 11:01:00 +0200
commit690c853da8b50faa366ff42d9b32b32c841e7211 (patch)
treea2343570435e75bfd37025c3cedff3aceb033a53 /makefile
parentff078630f3420a03cf8d9432cc7a96f249db5573 (diff)
more scaffolding
Diffstat (limited to 'makefile')
-rw-r--r--makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..785c186
--- /dev/null
+++ b/makefile
@@ -0,0 +1,12 @@
+all: $(TARGET) # TARGET is defined in lazy.mk (build/main)
+
+.PHONY: FORCE
+
+FMT += $(shell git ls-files '*.h' '*.c' '*.cpp')
+format: FORCE
+ clang-format -i $(FMT)
+# clang tidy doesn't work that well :/
+# clang-tidy --fix-errors $(FMT)
+
+include lazy.mk
+