aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2025-08-11 20:20:47 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2025-08-11 20:20:47 +0300
commitf6a1cdd50b3ab0116be6d853a0577e22b2e69f8c (patch)
tree1dddecc4db0bba47f51111adbf4cab3192b2823b /Makefile
downloadminit-f6a1cdd50b3ab0116be6d853a0577e22b2e69f8c.tar.gz
minit-f6a1cdd50b3ab0116be6d853a0577e22b2e69f8c.zip
init minit commit, innit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a07604c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,6 @@
+TARGET?=x86_64-linux-musl
+CFLAGS?=-Os -s
+CC:=zig cc -target $(TARGET)
+
+minit: minit.c
+ $(CC) $(CFLAGS) -o minit minit.c