summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile
index e42f8bf..f81d083 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -4,7 +4,7 @@ CFLAGS = -std=c99 -Wall -Wextra -pedantic -Os
LDFLAGS =
PREFIX ?= /usr/local
-all: exofetch colorstagger
+all: exofetch colorstagger snapshot_viewer
exofetch: exofetch.c
>$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
@@ -12,8 +12,11 @@ exofetch: exofetch.c
colorstagger: colorstagger.c
>$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) -lX11
+snapshot_viewer: snapshot_viewer.c
+>$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
+
clean:
->rm -f exofetch colorstagger
+>rm -f exofetch colorstagger snapshot_viewer
install: exofetch
>mkdir -p $(DESTDIR)$(PREFIX)/bin