summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorczjstmax <jstmaxlol@disroot.org>2026-04-13 15:23:14 +0200
committerczjstmax <jstmaxlol@disroot.org>2026-04-13 15:23:14 +0200
commit046801397d0e028ab600377ef6ba7109b55ffae7 (patch)
tree954cffeddaeb5ced7339ecf55b8505d98f7a5e38 /Makefile
rel
Signed-off-by: czjstmax <jstmaxlol@disroot.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..9c670cc
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+CC = musl-gcc
+OPTS = -Wall -Wextra -pedantic -static -Os
+FIN = clear.c
+FOUT = clear
+
+all:
+ $(CC) $(OPTS) $(FIN) -o $(FOUT)
+
+run: all
+ ./$(FOUT)
+ $(MAKE) clean
+
+clean:
+ rm -v $(FOUT)
+