summaryrefslogtreecommitdiff
path: root/paleofetch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'paleofetch/Makefile')
-rw-r--r--paleofetch/Makefile17
1 files changed, 0 insertions, 17 deletions
diff --git a/paleofetch/Makefile b/paleofetch/Makefile
deleted file mode 100644
index b272a9e..0000000
--- a/paleofetch/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-CFLAGS=-O2 -Wall -Wextra -lX11 -lpci
-PREFIX=/usr
-CACHE=$(shell if [ "$$XDG_CACHE_HOME" ]; then echo "$$XDG_CACHE_HOME"; else echo "$$HOME"/.cache; fi)
-
-all: paleofetch
-
-clean:
- rm -f paleofetch $(CACHE)/paleofetch
-
-paleofetch: paleofetch.c paleofetch.h config.h
- $(eval battery_path := $(shell ./config_scripts/battery_config.sh))
- $(CC) paleofetch.c -o paleofetch $(CFLAGS) -D $(battery_path)
- strip paleofetch
-
-install: paleofetch
- mkdir -p $(PREFIX)/bin
- install ./paleofetch $(PREFIX)/bin/paleofetch