paleofetch

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4f685ba862b3148f0cf3d4c686e86ae992adb03d
parent b90bca503046ff1c76d9ca210332726243df8b1b
Author: sam-barr <samfbarr@outlook.com>
Date:   Sat, 25 Apr 2020 13:01:50 -0500

Make clean now clears the cache

Diffstat:
MMakefile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -1,10 +1,11 @@ CFLAGS=-O3 -Wall -Wextra -lX11 -lpci PREFIX=$(HOME)/.local +CACHE=$(shell if [ "$$XDG_CACHE_HOME" ]; then echo "$$XDG_CACHE_HOME"; else echo "$$HOME"/.cache; fi) all: paleofetch clean: - rm -f paleofetch + rm -f paleofetch $(CACHE)/paleofetch paleofetch: paleofetch.c paleofetch.h config.h $(CC) paleofetch.c -o paleofetch $(CFLAGS)