summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorauric <104602845+ihateamongus@users.noreply.github.com>2025-09-08 20:51:30 -0500
committerauric <104602845+ihateamongus@users.noreply.github.com>2025-09-08 20:51:30 -0500
commit1e78a122dc52f1c791fdcb7733a53d70f3929970 (patch)
tree25933eded04b473091b11f7ddfb79fe49d0de79f /tools/Makefile
parentd11aec86841f77edd6eba3e07aa1e7e591e9da2a (diff)
Add color staggering demo
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/tools/Makefile b/tools/Makefile
index ae33902..e42f8bf 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -1,16 +1,20 @@
+.RECIPEPREFIX = >
CC = cc
CFLAGS = -std=c99 -Wall -Wextra -pedantic -Os
LDFLAGS =
PREFIX ?= /usr/local
-all: exofetch
+all: exofetch colorstagger
exofetch: exofetch.c
- $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
+>$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
+
+colorstagger: colorstagger.c
+>$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) -lX11
clean:
- rm -f exofetch
+>rm -f exofetch colorstagger
install: exofetch
- mkdir -p $(DESTDIR)$(PREFIX)/bin
- cp -f exofetch $(DESTDIR)$(PREFIX)/bin
+>mkdir -p $(DESTDIR)$(PREFIX)/bin
+>cp -f exofetch $(DESTDIR)$(PREFIX)/bin