about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorLain Iwakura <lain@iwakurahome.ru>2025-09-21 00:50:03 +0300
committerLain Iwakura <lain@iwakurahome.ru>2025-09-21 00:50:03 +0300
commite0126a5df719ea3c490df322a92a62e379a0dee9 (patch)
treeac65379f3df97bf48ac49eb6594451ead98e4ae5 /Makefile
downloadfjorker-e0126a5df719ea3c490df322a92a62e379a0dee9.tar.gz
fjorker-e0126a5df719ea3c490df322a92a62e379a0dee9.zip
meow
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e252f55
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+CC=cc
+CFLAGS=-Wall -Wextra -Werror -O2 -s
+TARGET=fjorker
+
+all: $(TARGET)
+
+$(TARGET): main.c
+	$(CC) $(CFLAGS) -o $(TARGET) main.c
+
+install: $(TARGET)
+	install -m 755 $(TARGET) /usr/local/bin/
+
+clean:
+	rm -f $(TARGET)
+
+.PHONY: all clean install