Finally fixed ram issue (no one noticed anyway), general optimization and now completely bash-free (except pkgman() obviously)

This commit is contained in:
TheDarkBug 2021-03-11 22:39:16 +01:00
parent 79f508562c
commit 218ade46a8
4 changed files with 110 additions and 89 deletions

View file

@ -1,15 +1,17 @@
NAME = uwufetch
FILES = uwufetch.c
FLAGS = -O3 -Wall -Wextra
FLAGS = -O3
FLAGS_DEBUG = -Wall -Wextra
INSTALL_DIR = /usr/bin/
all: build install
build: uwufetch.c
gcc $(FLAGS) -o $(NAME) $(FILES)
debug: build install
debug:
clear
./uwufetch
gcc $(FLAGS_DEBUG) -o $(NAME) $(FILES)
./uwufetch -id asd
install:
sudo cp $(NAME) $(INSTALL_DIR)$(NAME)