aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoronelin <oscar@nelin.dk>2026-09-05 11:33:18 +0000
committeronelin <oscar@nelin.dk>2026-09-05 11:33:18 +0000
commit2027db0a980fd179537bbce2cef6f29a57929c4b (patch)
treec86d53b9c8b206cfe5701edd56031f8727d62c0f /Makefile
parentb86db843ec4838f6785bc66a6813f5e324ffb5de (diff)
Open files with CLOEXEC
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2709a32..c3842ee 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,7 @@
+.PHONY: check
+
frontend: main.c
clang -g -Og -O0 -Wall -Werror -pedantic -Wextra -std=c99 -lc main.c -o frontend
+
+check: frontend
+ clang-tidy -checks=* main.c -- -std=c99