summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorauric <104602845+ihateamongus@users.noreply.github.com>2025-09-07 19:23:44 -0500
committerauric <104602845+ihateamongus@users.noreply.github.com>2025-09-07 19:23:44 -0500
commitac363b0b326afc73b7e01d0bed8848ed336e0a39 (patch)
treea67d3835a257f16000581271f243c23632c1c6e0 /tools/Makefile
parentb59b8b8e5d16af7f0daccb280a4991e3fe428e41 (diff)
refactor: share accent color shm header
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
new file mode 100644
index 0000000..ae33902
--- /dev/null
+++ b/tools/Makefile
@@ -0,0 +1,16 @@
+CC = cc
+CFLAGS = -std=c99 -Wall -Wextra -pedantic -Os
+LDFLAGS =
+PREFIX ?= /usr/local
+
+all: exofetch
+
+exofetch: exofetch.c
+ $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
+
+clean:
+ rm -f exofetch
+
+install: exofetch
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ cp -f exofetch $(DESTDIR)$(PREFIX)/bin