aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-02-08 00:37:20 +0100
committerThomas Voss <mail@thomasvoss.com> 2022-02-08 00:41:43 +0100
commita3183ff88a1aaac66bd49f258fdd02fdeff421ca (patch)
treeb59a284a697863cd7c26b29fe2768e1852c15ed8 /Makefile
Initial commit
This initial commit includes the following: - A gitignore file - A license (0-Clause BSD) - A Makefile supporting installation - A manual page written in mdoc(7) - A fully working initial implementation
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..ad0a89c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+.POSIX:
+
+CFLAGS = -Ofast -march=native -mtune=native -pipe
+PREFIX = /usr
+
+all: center
+center: center.c
+
+clean:
+ rm -f center
+
+install:
+ mkdir -p ${PREFIX}/bin ${PREFIX}/share/man/man1
+ cp center ${PREFIX}/bin
+ cp center.1 ${PREFIX}/share/man/man1